decl.c (cp_finish_decl): Improve error location.
authorPaolo Carlini <paolo@gcc.gnu.org>
Sat, 12 Jan 2019 21:59:50 +0000 (21:59 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sat, 12 Jan 2019 21:59:50 +0000 (21:59 +0000)
commit6f7814d08fd89dc9f41807568ef26c3ffe498dba
tree9bffe4983acddda577ab74ae72f4b0f7c104af9d
parent062ab4596d7b684f3781db1d484e5a9f1c9f5fd9
decl.c (cp_finish_decl): Improve error location.

/cp
2019-01-12  Paolo Carlini  <paolo.carlini@oracle.com>

* decl.c (cp_finish_decl): Improve error location.
* decl2.c (grokfield): Likewise, improve two locations.

/testsuite
2019-01-12  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/cpp0x/pr62101.C: Test locations too.
* g++.dg/inherit/pure1.C: Likewise.

From-SVN: r267888
gcc/testsuite/g++.dg/inherit/pure1.C