The following valid code snippet triggers an ICE on mainline and 4.3 branch when compiled with -O:
=============== void foo() { throw 0r; } =============== bug.cc: In function 'void foo()': bug.cc:3: internal compiler error: in write_type, at cp/mangle.c:1695 Please submit a full bug report, [etc.] The code was invalid before GCC 4.3.0 and was simply rejected. -- Summary: [4.3/4.4 regression] ICE throwing fixed-point types Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored Severity: normal Priority: P3 Component: c++ 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=35319