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++/33460] [4.1/4.2/4.3 regression] ICE with static member in anonymous union



------- Comment #1 from paolo at gcc dot gnu dot org  2007-09-20 23:05 -------
Subject: Bug 33460

Author: paolo
Date: Thu Sep 20 23:05:38 2007
New Revision: 128637

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128637
Log:
cp/
2007-09-20  Paolo Carlini  <pcarlini@suse.de>

        PR c++/33460
        * semantics.c (finish_id_expression): Use consistently
        context_for_name_lookup.
        * decl.c (fixup_anonymous_aggr): Fix error message for
        anonymous struct (vs union).

testsuite/
2007-09-20  Paolo Carlini  <pcarlini@suse.de>

        PR c++/33460
        * g++.dg/ext/anon-struct6.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/ext/anon-struct6.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33460


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