The following code crashes with -O0 -fpeephole2: void s48_double_to_bignum(int exponent){ long length = ((((exponent) + ((((sizeof (long)) * 8) - 2) - 1)) / (((sizeof (long)) * 8) - 2))); }
-- Summary: [4.0/4.1 Regression] x86_64 gcc crashes with -O0 - fpeephole2 Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24330