]> git.ipfire.org Git - thirdparty/gcc.git/commit
2019-10-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
authoredlinger <edlinger@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Oct 2019 20:29:21 +0000 (20:29 +0000)
committeredlinger <edlinger@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Oct 2019 20:29:21 +0000 (20:29 +0000)
commit3928790c5a276827ade46014deef1761ee816995
treeadb1ad05b60151a76485bafaf60afe5ee2313e06
parent0baa0c3ff498a2e5353d83fce426be84ba5ea6e6
2019-10-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * doc/invoke.texi (-Wshadow, -Wshadow=global
        -Wshadow=local, -Wshadow=compatible-local): Update documentation.

cp:
2019-10-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR c++/92024
        * name-lookup.c (check_local_shadow): Shadowing TYPE_DECLs
        is always a -Wshadow=compatible-local warning, unless
        -Wshadow is used.

testsuite:
2019-10-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR c++/92024
        * g++.dg/parse/crash70.C: New test.
        * c-c++-common/Wshadow-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277643 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/Wshadow-1.c [new file with mode: 0644]
gcc/testsuite/g++.dg/parse/crash70.C [new file with mode: 0644]