The following testcases cause ICEs on mainline: g++.old-deja/g++.bugs/900213_03.C g++.old-deja/g++.other/pmf2.C g++.old-deja/g++.other/pmf7.C
They all crash at the same position: pmf2.C: In function 'void f()': pmf2.C:17: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say '&S::f' pmf2.C:17: internal compiler error: in build_offset_ref, at cp/init.c:1353 Please submit a full bug report, [etc.] -- Summary: [4.2 regression] ICE taking the address of a bound member function Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery 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=26740