The following code snippet triggers an ICE on mainline (i686-pc-linux-gnu)# when compiled with "-ffast-math":
======================================= double foo(double x) { return x; } double y = 2*foo(1); ======================================= bug0.cc:2: internal compiler error: Segmentation fault Please submit a full bug report, [etc.] The bug was introduced between 2008-08-23 and 2008-08-29. -- Summary: [4.4 regression] ICE with -ffast-math Product: gcc Version: 4.4.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=37414