search.c (check_final_overrider): Use inform instead of error for the diagnostics...
authorVolker Reichelt <v.reichelt@netcologne.de>
Tue, 27 Mar 2018 17:21:20 +0000 (17:21 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Tue, 27 Mar 2018 17:21:20 +0000 (17:21 +0000)
commitd555040fc4c7e7b023c23e5c0f4889936a154ca9
treeabdf829e4eda328dd634d7c97be460d488d34323
parent6514899f3110f618f60066dca796c327ef20e9fa
search.c (check_final_overrider): Use inform instead of error for the diagnostics of the overridden functions.

2018-03-27  Volker Reichelt  <v.reichelt@netcologne.de>

        * search.c (check_final_overrider): Use inform instead of error
        for the diagnostics of the overridden functions.  Tweak wording.

        * g++.dg/cpp0x/defaulted2.C: Use dg-message instead of dg-error
        for the diagnostics of overridden functions.  Adjust for new wording.
        * g++.dg/cpp0x/implicit1.C: Likewise.
        * g++.dg/cpp0x/override1.C: Likewise.
        * g++.dg/cpp1y/auto-fn18.C: Likewise.
        * g++.dg/eh/shadow1.C: Likewise.
        * g++.dg/inherit/covariant12.C: Likewise.
        * g++.dg/inherit/covariant14.C: Likewise.
        * g++.dg/inherit/covariant15.C: Likewise.
        * g++.dg/inherit/covariant16.C: Likewise.
        * g++.dg/inherit/covariant22.C: Likewise.
        * g++.dg/inherit/crash3.C: Likewise.
        * g++.dg/inherit/error2.C: Likewise.
        * g++.dg/template/crash100.C: Likewise.
        * g++.old-deja/g++.eh/spec6.C: Likewise.
        * g++.old-deja/g++.mike/p811.C: Likewise.
        * g++.old-deja/g++.other/virtual11.C: Likewise.
        * g++.old-deja/g++.other/virtual4.C: Likewise.

From-SVN: r258898
20 files changed:
gcc/cp/ChangeLog
gcc/cp/search.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/defaulted2.C
gcc/testsuite/g++.dg/cpp0x/implicit1.C
gcc/testsuite/g++.dg/cpp0x/override1.C
gcc/testsuite/g++.dg/cpp1y/auto-fn18.C
gcc/testsuite/g++.dg/eh/shadow1.C
gcc/testsuite/g++.dg/inherit/covariant12.C
gcc/testsuite/g++.dg/inherit/covariant14.C
gcc/testsuite/g++.dg/inherit/covariant15.C
gcc/testsuite/g++.dg/inherit/covariant16.C
gcc/testsuite/g++.dg/inherit/covariant22.C
gcc/testsuite/g++.dg/inherit/crash3.C
gcc/testsuite/g++.dg/inherit/error2.C
gcc/testsuite/g++.dg/template/crash100.C
gcc/testsuite/g++.old-deja/g++.eh/spec6.C
gcc/testsuite/g++.old-deja/g++.mike/p811.C
gcc/testsuite/g++.old-deja/g++.other/virtual11.C
gcc/testsuite/g++.old-deja/g++.other/virtual4.C