This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51477] [c++0x] ICE with initialization of invalid non-static data member
- From: "dodji at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Dec 2011 09:47:51 +0000
- Subject: [Bug c++/51477] [c++0x] ICE with initialization of invalid non-static data member
- Auto-submitted: auto-generated
- References: <bug-51477-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51477
--- Comment #4 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-12-19 09:47:51 UTC ---
Author: dodji
Date: Mon Dec 19 09:47:46 2011
New Revision: 182474
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182474
Log:
PR c++/51477 - ICE with invalid NSDMI
gcc/cp/
PR c++/51477
* search.c (lookup_member): Get out early on invalid base type.
gcc/testsuite/
PR c++/51477
* g++.dg/cpp0x/nsdmi6.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi6.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/search.c
trunk/gcc/testsuite/ChangeLog