c/8588: compile fails with t.c:15: Internal compiler error in extract_insn, at recog.c:2148
reichelt@igpm.rwth-aachen.de
reichelt@igpm.rwth-aachen.de
Fri Nov 15 04:42:00 GMT 2002
Synopsis: compile fails with t.c:15: Internal compiler error in extract_insn, at recog.c:2148
State-Changed-From-To: open->analyzed
State-Changed-By: reichelt
State-Changed-When: Fri Nov 15 04:42:54 2002
State-Changed-Why:
Confirmed.
The bug can be reproduced with the following code snippet:
-------------------------snip here-----------------------
void foo()
{
unsigned int i, j;
j = (i >> 0xf0);
}
-------------------------snip here-----------------------
Compiling this with gcc-3.2.1-prerelease (or mainline) on
i686-pc-linux-gnu I get:
PR8588.c: In function `foo':
PR8588.c:4: warning: right shift count >= width of type
PR8588.c:5: unrecognizable insn:
(insn 10 20 12 (set (reg:QI 58)
(const_int 240 [0xf0])) -1 (nil)
(nil))
PR8588.c:5: Internal compiler error in extract_insn, at recog.c:2148
Please submit a full bug report, [etc.]
The code compiled fine under gcc 3.0.x, therefore we have a regression.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8588
More information about the Gcc-bugs
mailing list