/cp
commitd2506fd9bb69c82f52c7ee099d1a55fc6aa8a975
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Dec 2018 17:46:42 +0000 (11 17:46 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Dec 2018 17:46:42 +0000 (11 17:46 +0000)
tree1fd334d7a40bb637b120e030df5cd6f3a056719a
parent6a8583f120bb626c473dafd105a24def43923196
/cp
2018-12-11  Paolo Carlini  <paolo.carlini@oracle.com>

* decl2.c (grokvardecl): Add location_t parameter and use it
in build_lang_decl_loc and build_decl calls.
(grokdeclarator): Move up loc declaration and use it in the
grokvardecl call too.

/testsuite
2018-12-11  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/pr53037-4.C: Test the first two locations too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267027 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr53037-4.C