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++/51477] [c++0x] ICE with initialization of invalid non-static data member


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


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