This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/47277] New: pseudo destructor code that cause an internal compiler error with std=gnu++0x


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();
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]