gcc/cp/ChangeLog
commit3728e4ccd9cb61d130a447838593c6c79e4d607e
authorfabien <fabien@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 May 2011 19:02:19 +0000 (31 19:02 +0000)
committerfabien <fabien@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 May 2011 19:02:19 +0000 (31 19:02 +0000)
tree97fbbfa522f7cabcc14f432ab9403e0da183ef5f
parent7c8654da0e10db4711626027a0c86a0cad2e2dee
gcc/cp/ChangeLog

2010-05-31  Fabien Chene  <fabien@gcc.gnu.org>

PR c++/48010
* name-lookup.c (supplement_binding_1): If the old binding was a
type name, also check that the DECL actually refers to the same
type or is not a type.

gcc/testsuite/ChangeLog

2010-05-31  Fabien Chene  <fabien@gcc.gnu.org>

PR c++/48010
* g++.dg/lookup/name-clash9.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174506 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/name-clash9.C [new file with mode: 0644]