/cp
commit29e4223d5e396fb504e6a38c3db782a0bbb9c23e
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Jul 2015 16:20:47 +0000 (14 16:20 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Jul 2015 16:20:47 +0000 (14 16:20 +0000)
treea336d92b35e4e0350c0e9c94777420a84d8b6ed1
parent060d39cdf323535efacc15587725520a3abe35c3
/cp
2015-07-14  Paolo Carlini  <paolo.carlini@oracle.com>

* pt.c (check_template_shadow): Emit error + inform instead of
two errors.

/testsuite
2015-07-14  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/template/crash81.C: Adjust for error + inform change.
* g++.dg/template/pr58878.C: Likewise.
* g++.dg/template/shadow1.C: Likewise.
* g++.dg/template/shadow2.C: Likewise.
* g++.old-deja/g++.benjamin/tem03.C: Likewise.
* g++.old-deja/g++.benjamin/tem04.C: Likewise.
* g++.old-deja/g++.brendan/crash7.C: Likewise.
* g++.old-deja/g++.pt/shadow2.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225783 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/crash81.C
gcc/testsuite/g++.dg/template/pr58878.C
gcc/testsuite/g++.dg/template/shadow1.C
gcc/testsuite/g++.dg/template/shadow2.C
gcc/testsuite/g++.old-deja/g++.benjamin/tem03.C
gcc/testsuite/g++.old-deja/g++.benjamin/tem04.C
gcc/testsuite/g++.old-deja/g++.brendan/crash7.C
gcc/testsuite/g++.old-deja/g++.pt/shadow2.C