Testcase: extern "C" class c1 { friend inline bool operator==(c1 const & a, c1 const & b){} friend inline bool operator==(c2 const & a, c2 const & b){} }
--- This worked in 3.4.0. -- Summary: [4.0/4.1 Regression] ICE after error about extern "C". Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery Severity: minor 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=23694