Replace one error with inform.
authorMartin Liska <mliska@suse.cz>
Tue, 28 Jan 2020 09:26:53 +0000 (10:26 +0100)
committerMartin Liska <mliska@suse.cz>
Tue, 28 Jan 2020 09:26:53 +0000 (10:26 +0100)
commitd3c00969fe619ae116dfbc07e6b364558acb6e3f
treea87b53464a35851f33080583628b11fb8a27e700
parent06d481d044ca7126f9d298ad9a4074fafde47ee8
Replace one error with inform.

PR c++/92440
* pt.c (redeclare_class_template): Use inform
for the second location.
PR c++/92440
* g++.dg/template/pr92440.C: New test.
* g++.dg/cpp0x/vt-34314.C: Update error to note.
* g++.dg/template/pr59930-2.C: Likewise.
* g++.old-deja/g++.pt/redecl1.C: Likewise.
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/vt-34314.C
gcc/testsuite/g++.dg/template/pr59930-2.C
gcc/testsuite/g++.dg/template/pr92440.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/redecl2.C
gcc/testsuite/g++.old-deja/g++.pt/redecl1.C