decl.c (grokdeclarator): Use declarator->id_loc in two additional places.
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 4 Jun 2019 23:10:56 +0000 (23:10 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 4 Jun 2019 23:10:56 +0000 (23:10 +0000)
commitad441c263d5aeedc9c152642cba54dcba7799b2b
treebb138637ad2e641016f0388fc490098fa7b7f1ec
parente756e900e911fdbc57cd76d6c12d20a9b1892e55
decl.c (grokdeclarator): Use declarator->id_loc in two additional places.

/cp
2019-06-04  Paolo Carlini  <paolo.carlini@oracle.com>

* decl.c (grokdeclarator): Use declarator->id_loc in two
additional places.

/testsuite
2019-06-04  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/concepts/pr60573.C: Test locations too.
* g++.dg/cpp0x/deleted13.C: Likewise.
* g++.dg/parse/error29.C: Likewise.
* g++.dg/parse/qualified4.C: Likewise.
* g++.dg/template/crash96.C Likewise.
* g++.old-deja/g++.brendan/crash22.C Likewise.
* g++.old-deja/g++.brendan/crash23.C Likewise.
* g++.old-deja/g++.law/visibility10.C Likewise.
* g++.old-deja/g++.other/decl5.C: Likewise.

From-SVN: r271928
12 files changed:
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/concepts/pr60573.C
gcc/testsuite/g++.dg/cpp0x/deleted13.C
gcc/testsuite/g++.dg/parse/error29.C
gcc/testsuite/g++.dg/parse/qualified4.C
gcc/testsuite/g++.dg/template/crash96.C
gcc/testsuite/g++.old-deja/g++.brendan/crash22.C
gcc/testsuite/g++.old-deja/g++.brendan/crash23.C
gcc/testsuite/g++.old-deja/g++.law/visibility10.C
gcc/testsuite/g++.old-deja/g++.other/decl5.C