http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51414
Bug #: 51414 Summary: Broken diagnostic with invalid use of __underlying_type Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: reich...@gcc.gnu.org A broken diagnostic is generated on trunk for the following invalid code snippet: ============================== __underlying_type(int[1]) i; ============================== bug.cc:1:25: error: '#'array_type' not supported by dump_expr#<expression error>' is not an enumeration type bug.cc:1:28: error: invalid type in declaration before ';' token