]> git.ipfire.org Git - thirdparty/gcc.git/commit
cp/
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Sep 2007 23:05:38 +0000 (23:05 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Sep 2007 23:05:38 +0000 (23:05 +0000)
commitc2d52c0c2294c242ab4ff3ca3751397bc43e412c
treeeeb3fc84c1a2e18eaf34351b6a02cbd84c8b4688
parentc0ecd33c0c6884abf5882a40371080c202b26738
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128637 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/anon-struct6.C [new file with mode: 0644]