decl.c (grokfndecl): Use the location_t argument in two more places.
authorPaolo Carlini <paolo.carlini@oracle.com>
Sun, 10 Jun 2018 21:19:07 +0000 (21:19 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 10 Jun 2018 21:19:07 +0000 (21:19 +0000)
commit874c7b7df2de8cec8dc6732bda78c8639862236e
tree3f5b5c928d3b47a9bfc1c1eed390cfa3a06e26cf
parent980fa45eefc0ec8f71e1947a28938af28f6fdbb2
decl.c (grokfndecl): Use the location_t argument in two more places.

/cp
2018-06-10  Paolo Carlini  <paolo.carlini@oracle.com>

* decl.c (grokfndecl): Use the location_t argument in two more places.

/testsuite
2018-06-10  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/template/friend64.C: New.
* g++.old-deja/g++.other/friend4.C: Test the location too.
* g++.old-deja/g++.pt/crash23.C: Likewise.

From-SVN: r261389
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/friend64.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.other/friend4.C
gcc/testsuite/g++.old-deja/g++.pt/crash23.C