This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/8588: compile fails with t.c:15: Internal compiler error in extract_insn, at recog.c:2148
- From: reichelt at igpm dot rwth-aachen dot de
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, johnip at frontiernet dot net, nobody at gcc dot gnu dot org
- Date: 15 Nov 2002 12:42:56 -0000
- Subject: Re: c/8588: compile fails with t.c:15: Internal compiler error in extract_insn, at recog.c:2148
- Reply-to: reichelt at igpm dot rwth-aachen dot de, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, johnip at frontiernet dot net, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
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