This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/7154: [3.3 regression] ICE in verify_initial_elim_offsets at reload1.c:3337
- 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, nobody at gcc dot gnu dot org, spigel at olvs dot miee dot ru
- Date: 6 Dec 2002 22:41:07 -0000
- Subject: Re: optimization/7154: [3.3 regression] ICE in verify_initial_elim_offsets at reload1.c:3337
- 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, nobody at gcc dot gnu dot org, spigel at olvs dot miee dot ru, gcc-gnats at gcc dot gnu dot org
Old Synopsis: verify_initial_elim_offsets at reload1.c:3337
New Synopsis: [3.3 regression] ICE in verify_initial_elim_offsets at reload1.c:3337
State-Changed-From-To: feedback->analyzed
State-Changed-By: reichelt
State-Changed-When: Fri Dec 6 14:41:07 2002
State-Changed-Why:
Confirmed.
The testcase can be reduced to the following code snippet
---------------------------snip here------------------------
const int x[1]={ 1 };
void foo(int i, int *p)
{
asm volatile("" : "+a" (i) : "m" (x[0]), "r" (p));
}
---------------------------snip here------------------------
Compiling this with "gcc -O -fPIC -c" using recent mainline (20021118)
I get the following error message:
PR7154.c: In function `foo':
PR7154.c:6: internal compiler error: in verify_initial_elim_offsets, at reload1.c:3345
Since the code compiles fine with the 3.2-branch, 3.0.x and 2.95.x,
this is a regression.
Wolfgang, I think gcc 3.2-20020623 is a snopshot of mainline
before it got renamed to 3.3, so this never applied to the
3.1/3.2-branch.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7154