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/34969] New: [4.3 regression] ICE with -fipa-cp -ffast-math


The following valid testcase triggers an ICE on mainline when compiled with
"gcc -O -fipa-cp -ffast-math":

===========================================
double foo(double x) { return x*x; }
double bar()         { return foo(0); }
===========================================

bug.c:2: error: edge double T.0(double)->double __builtin_pow(double, double)
has no corresponding call_stmt
bug.c:2: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]

Note the bug in the bug: verify_cgraph_node manages to print the first part of
the internal error, but crashes before "verify_cgraph_node failed" can be
printed.


-- 
           Summary: [4.3 regression] ICE with -fipa-cp -ffast-math
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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