http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47482
Summary: [C++0x] [4.6 Regression] ICE: unexpected expression ‘sizeof ("A")’ of kind sizeof_expr Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: r...@gcc.gnu.org template<class> struct K { enum { A = sizeof"A" , B = +A }; }; ice.cc:4:32: internal compiler error: unexpected expression ‘sizeof ("A")’ of kind sizeof_expr Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. works with 4.4 & 4.5, or without -std=c++0x