[PR c++/82424] Dont convert dependent types
commitce6abecd77d3e6460cbe9899d30b1b0011e9da73
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Oct 2017 16:02:13 +0000 (6 16:02 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Oct 2017 16:02:13 +0000 (6 16:02 +0000)
tree6e6aeb940d2d46d4759c66abf23c8d6b408dabc2
parent3d86686488fe1f62ae23971baf816a909c8c77c7
[PR c++/82424] Dont convert dependent types

https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00385.html
cp/
PR c++/82424
* name-lookup.c (check_local_shadow): Don't try and convert
dependent types.

testsuite/
PR c++/82424
* g++.dg/warn/pr82424.C: New.

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