[Bug c++/47482] New: [C++0x] [4.6 Regression] ICE: unexpected expression ‘sizeof ?=("A")=?UTF-8?Q?’ of kind sizeof_expr
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 26 22:47:00 GMT 2011
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: unassigned@gcc.gnu.org
ReportedBy: redi@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
More information about the Gcc-bugs
mailing list