c/5656: gcc - Internal compiler error in emit_move_insn

Reichelt reichelt@igpm.rwth-aachen.de
Tue Feb 12 06:46:00 GMT 2002


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




More information about the Gcc-bugs mailing list