This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c/5656: gcc - Internal compiler error in emit_move_insn


Hi,

the testcase can be reduced to the following three lines of
(illegal) code that cause an ICE on i686-pc-linux-gnu and
mips-sgi-irix6.5 when compiled with "gcc -O3"

------------------snip here---------------------
void foo  (c) char c; { &c; }
int  bar  (char);
void quus (char c)    { foo(bar(c)); }
------------------snip here---------------------

The error message is:

bug.i: In function `quus':
bug.i:1: Internal compiler error in emit_move_insn, at expr.c:2748
Please submit a full bug report, [etc.]

Greetings,
Volker Reichelt

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5656



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]