http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52467
Bug #: 52467 Summary: ICE: canonical types differ for int [0] and int [0] Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: mg...@uni.brighton.ac.uk Created attachment 26815 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26815 Minimal test case I'm not sure if an array of 0 elements is actually legal, but I get an ICE compiling the attached test case: $ g++ array-0.cpp array-0.cpp:6:6: internal compiler error: canonical types differ for identical types int [0] and int [0] Works if a is defined as "int a[0] = {};".