Take the following invalid code: ===================== __complex__ double _M_value; void f(void) { __complex__ double __t; _M_value *= __t; =====================
Yes the } is missing. We get an ICE after the error. This is only with -O1 and above. -- Summary: [4.1 Regression] ICE with optimization turned on while trying to exand complex multiply Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22626