This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/8555: Internal compiler error in gen_split_1231
- 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, kris dot demuynck at esat dot kuleuven dot ac dot be, nobody at gcc dot gnu dot org
- Date: 12 Nov 2002 22:57:51 -0000
- Subject: Re: optimization/8555: Internal compiler error in gen_split_1231
- 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, kris dot demuynck at esat dot kuleuven dot ac dot be, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: Internal compiler error in gen_split_1231
State-Changed-From-To: open->analyzed
State-Changed-By: reichelt
State-Changed-When: Tue Nov 12 14:57:50 2002
State-Changed-Why:
Confirmed.
gcc 3.1 and mainline are not affected, but gcc 3.2 and the
3.2.1 prerelease produce an ICE.
Here's a shorter example that triggers the bug (just compile with
gcc -march=pentium3 -O -ffast-math -funroll-loops -c)
-------------------------snip here-----------------------
float foo (float *a)
{
int i, j;
float x=a[j=i-1], y;
for ( j=i; --j>=0; )
if( (y=a[j]) > x )
x = y;
return x;
}
-------------------------snip here-----------------------
Since the bug is a regression on the branch, I rate the PR "high priority".
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8555