This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
optimization/8479: [new-ra] ICE in select_spill, at ra-colorize.c:1001
- From: bangerth at ticam dot utexas dot edu
- To: gcc-gnats at gcc dot gnu dot org
- Date: 6 Nov 2002 17:03:39 -0000
- Subject: optimization/8479: [new-ra] ICE in select_spill, at ra-colorize.c:1001
- Reply-to: bangerth at ticam dot utexas dot edu
>Number: 8479
>Category: optimization
>Synopsis: [new-ra] ICE in select_spill, at ra-colorize.c:1001
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 06 09:06:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Wolfgang Bangerth
>Release: unknown-1.0
>Organization:
>Environment:
Present CVS on Linux
>Description:
The following ICEs with -fnew-ra -O2 -fPIC:
-------------------------------------
bugs/gcc> cat x.c
double pow (double, double);
double fabs (double);
long double * end ();
long double foo (const long double p)
{
long double sum0 = 0,
sum1 = 0;
long double * ptr=0,eptr=0;
while (ptr != end())
sum0 += pow(fabs(*ptr++), p);
return pow(sum0+sum1, p);
};
bugs/gcc> /home/bangerth/bin/gcc-3.3x-pre/bin/gcc -fnew-ra -O2 -fPIC -c x.c
x.c: In function `foo':
x.c:15: internal compiler error: in select_spill, at ra-colorize.c:1001
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: