This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/15068] New: ICE in elim_reg_cond


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]