[PATCH c++/86881] -Wshadow-local-compatible ICE
commitff92beb8749a0ce0bbf5ae91ac9a9fb0287696a5
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Sep 2018 13:52:30 +0000 (18 13:52 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Sep 2018 13:52:30 +0000 (18 13:52 +0000)
treeb5f06ac37233a6fa0938509b43551619bae9f31c
parent1ae32d5c2d8c690395a693d0342d418e36d06067
[PATCH c++/86881] -Wshadow-local-compatible ICE

https://gcc.gnu.org/ml/gcc-patches/2018-09/msg00984.html
PR c++/86881
cp/
* name-lookup.c (check_local_shadow): Ignore auto types.

testsuite/
* g++.dg/warn/pr86881.C: New.

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