http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47277
Summary: pseudo destructor code that cause an internal compiler
error with std=gnu++0x
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: [email protected]
ReportedBy: [email protected]
I have a testcases that triggered an ICE:
$ /space/gcc/install-trunk/bin/g++ -std=gnu++0x -W test.cc
test.cc: In function 'int main()':
test.cc:4:18: internal compiler error: in constructor_name_p, at
cp/name-lookup.c:1846
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
This is the minimized testcase:
int main(void) {
enum e {};
e ev;
ev.e::~e_u();
}