This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/47277] New: pseudo destructor code that cause an internal compiler error with std=gnu++0x
- From: "borntraeger at de dot ibm.com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 13 Jan 2011 08:57:33 +0000
- Subject: [Bug c++/47277] New: pseudo destructor code that cause an internal compiler error with std=gnu++0x
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: borntraeger@de.ibm.com
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();
}