With the testcase in 12322, we get an ICE after errors because of nested functions. Reduced testcase: int f(int i) { static int g(); static int g() { return i; } return g(); }
: Search converges between 2004-07-27-trunk (#496) and 2004-07-28-trunk (#497). -- Summary: [4.0 regression] ICE in make_decl_rtl Product: gcc Version: 4.0.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery Severity: minor Priority: P2 Component: middle-end 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=18596