[ Forwarded from http://bugs.debian.org/437939 ]
Eugeniy Meshcheryakov reports the following ICE: (sid)26008:[EMAIL PROTECTED]: ~/src] /usr/lib/gcc-snapshot/bin/g++ -c 2.ii 2.ii: In member function 'void dwflpp::translate_location()': 2.ii:18: internal compiler error: canonical types differ for identical types void ()(const char*, ...) and void ()(const char*, ...) Please submit a full bug report, with preprocessed source if appropriate. His testcase: void c_translate_location ( void (*fail) ( const char *fmt, ...) __attribute__ ((noreturn, format (printf, 1, 2))) ); struct dwflpp { static void loc2c_error (const char *fmt, ...) { } void translate_location() { return c_translate_location (&loc2c_error); } }; -- Summary: [4.3 Regression] ICE: canonical types differ for identical types void ()(const char*, ...) and void ()(const char*, ...) Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tbm at cyrius dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33194