[Bug c++/86881] [8, 9 regression] tree check fail with flag Wshadow-compatible-local

nathan at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 18 15:07:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86881

--- Comment #4 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Tue Sep 18 15:06:35 2018
New Revision: 264396

URL: https://gcc.gnu.org/viewcvs?rev=264396&root=gcc&view=rev
Log:
[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.

Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/warn/pr86881.C
Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/name-lookup.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list