public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gcc-bugzilla at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/17525] New: 4.0: ICE in emit_move_insn (non-BLKmode arg) Date: Thu, 16 Sep 2004 19:27:00 -0000 [thread overview] Message-ID: <20040916192718.17525.snyder@fnal.gov> (raw) g++ gives an ICE on the source below: $ ./cc1plus -quiet x.cc x.cc: In member function `B& B::operator=(const B&)': x.cc:14: internal compiler error: in emit_move_insn, at expr.c:2485 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. $ Here's where it's crashing: 2484 gcc_assert (mode != BLKmode 2485 && (GET_MODE (y) == mode || GET_MODE (y) == VOIDmode)); 2486 because here mode == BLKmode. (gdb) call debug_rtx(x) (reg:BLK 62) (gdb) call debug_rtx(y) (mem/s:BLK (reg:SI 59 [ D.1610 ]) [0 S4 A32]) Environment: System: Linux karma 2.6.8.1 #20 Mon Sep 13 23:48:47 EDT 2004 i686 i686 i386 GNU/Linux Architecture: i686 <machine, os, target, libraries (multiple lines)> host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: /home/sss/gcc/gcc/configure --prefix=/usr/local/gcc --enable-threads=posix --enable-long-long --enable-languages=c,c++,f95 How-To-Repeat: Compile the following (optimization not required): -------------------------------------------------- struct A { ~A(); int a; }; struct B : public A { virtual ~B(); }; void run (B& b, B& b1) { b1 = b; } -------------------------------------------------- ------- Additional Comments From snyder at fnal dot gov 2004-09-16 19:27 ------- Fix: <how to correct or work around the problem, if known (multiple lines)> -- Summary: 4.0: ICE in emit_move_insn (non-BLKmode arg) Product: gcc Version: 0.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: snyder at fnal dot gov CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17525
next reply other threads:[~2004-09-16 19:27 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-09-16 19:27 gcc-bugzilla at gcc dot gnu dot org [this message] 2004-09-16 19:41 ` [Bug middle-end/17525] [4.0 regression] " reichelt at gcc dot gnu dot org 2004-09-16 22:30 ` reichelt at gcc dot gnu dot org 2004-09-16 22:34 ` pinskia at gcc dot gnu dot org 2004-09-17 10:18 ` pinskia at gcc dot gnu dot org 2004-09-21 13:38 ` pinskia at gcc dot gnu dot org 2004-09-22 11:28 ` pinskia at gcc dot gnu dot org 2004-09-24 20:38 ` rth at gcc dot gnu dot org 2004-09-28 21:12 ` jason at gcc dot gnu dot org 2004-09-28 21:29 ` pinskia at gcc dot gnu dot org 2004-09-29 6:24 ` cvs-commit at gcc dot gnu dot org 2004-09-29 11:45 ` pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20040916192718.17525.snyder@fnal.gov \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).