This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/47482] New: [C++0x] [4.6 Regression] ICE: unexpected expression âsizeof ("A")â of kind sizeof_expr
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 26 Jan 2011 22:39:31 +0000
- Subject: [Bug c++/47482] New: [C++0x] [4.6 Regression] ICE: unexpected expression âsizeof ("A")â of kind sizeof_expr
- Auto-submitted: auto-generated
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