static const double Eps = .0000001; static const double Tol = 1.0+Eps; int main(int, char *[]) { return 0; }
Fedora 9. Works fine on MacOs 10.5 with gcc 4.0. setting Eps to be an integral value (but keeping its type to be double) makes the ICE go away. -- Summary: ICE when building with "-frounding-math -g" Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: drussel at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36912