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 middle-end/24820] New: [4.1 regression] SEGV in integer_valued_real_p at gcc/builtins.c:6711


// Compile this with -O2 -ffast-math to get segfault

double floor (double);
double bar (double sum)
{
  int i;
  for (i = 0; i < 256; i++)
    sum += floor (0.5 + (i - 128));
  return sum;
}


-- 
           Summary: [4.1 regression] SEGV in integer_valued_real_p at
                    gcc/builtins.c:6711
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: belyshev at depni dot sinp dot msu dot ru
GCC target triplet: x86_64-*-*, i?86-*-*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24820


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