decl.c (grokdeclarator): Use declspecs->locations[ds_virtual].
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 22 Jun 2015 17:35:34 +0000 (17:35 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 22 Jun 2015 17:35:34 +0000 (17:35 +0000)
commitea663be91a23f217308e669e76b4f0a0c7b86616
treecc0516ef0b5bb982519291a1fe8f3085d72e8533
parent33273def7cd81f32d5e5fb9d06e7f5794cb2d46a
decl.c (grokdeclarator): Use declspecs->locations[ds_virtual].

/cp
2015-06-22  Paolo Carlini  <paolo.carlini@oracle.com>

* decl.c (grokdeclarator): Use declspecs->locations[ds_virtual].

/testsuite
2015-06-22  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/inherit/pure1.C: Test location too.

2015-06-22  Paolo Carlini  <paolo.carlini@oracle.com>

* decl.c (grokdeclarator): Remove pointless code.

From-SVN: r224750
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/inherit/pure1.C