]> git.ipfire.org Git - thirdparty/gcc.git/commit
/cp
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Aug 2018 12:09:33 +0000 (12:09 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Aug 2018 12:09:33 +0000 (12:09 +0000)
commitea47b34525d6f649cf8e17aff4338712d3011acc
tree6069af51b8c67f8d701c0039ecd38edd61d41cd0
parent69859909068b8b3d039f145f524cbc1cd2adf450
/cp
2018-08-01  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/86661
* class.c (note_name_declared_in_class): Use location_of in permerror
instead of DECL_SOURCE_LOCATION (for OVERLOADs).

/testsuite
2018-08-01  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/86661
* g++.dg/lookup/name-clash12.C: New.

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