[PATCH c++/86881] -Wshadow-local-compatible ICE
authorNathan Sidwell <nathan@acm.org>
Tue, 18 Sep 2018 13:52:30 +0000 (13:52 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 18 Sep 2018 13:52:30 +0000 (13:52 +0000)
commit3897f13410436e256d6391e2f0b9e02544b6cd91
treeb5f06ac37233a6fa0938509b43551619bae9f31c
parent0dce552628246d6ce0372772f3ddfa11444ad09d
[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.

From-SVN: r264391
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/pr86881.C [new file with mode: 0644]