This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/15068] New: ICE in elim_reg_cond
- From: "pb at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Apr 2004 10:20:58 -0000
- Subject: [Bug optimization/15068] New: ICE in elim_reg_cond
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
This code:
$ cat s_fmax.i
double
__fmax (double x, double y)
{
return (__builtin_isgreaterequal(x, y) || (sizeof (y) == sizeof (float) ?
__isnanf (y) : __isnan (y))) ? x : y;
}
crashes an arm-linux compiler when invoked as:
$ ./cc1 -O2 ~/s_fmax.i
__fmax
Analyzing compilation unit
Performing intraprocedural optimizations
Assembling functions:
__fmax
/home/pblundel/s_fmax.i: In function `__fmax':
/home/pblundel/s_fmax.i:5: internal compiler error: in elim_reg_cond, at
flow.c:3257
Please submit a full bug report,
with preprocessed source if appropriate.
Send email to arm-gcc@codesourcery.com for instructions.
--
Summary: ICE in elim_reg_cond
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: optimization
AssignedTo: rearnsha at gcc dot gnu dot org
ReportedBy: pb at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: arm-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15068