r272584 - in /trunk/gcc: cp/ChangeLog cp/decl.c...

paolo@gcc.gnu.org paolo@gcc.gnu.org
Sat Jun 22 09:36:00 GMT 2019


Author: paolo
Date: Sat Jun 22 09:36:38 2019
New Revision: 272584

URL: https://gcc.gnu.org/viewcvs?rev=272584&root=gcc&view=rev
Log:
/cp
2019-06-22  Paolo Carlini  <paolo.carlini@oracle.com>

	* decl.c (grokdeclarator): Use id_loc, typespec_loc, and
	locations[ds_storage_class] in a few additional places.

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

	* g++.dg/diagnostic/auto-storage-1.C: New.
	* g++.dg/diagnostic/no-type-1.C: Likewise.
	* g++.dg/diagnostic/no-type-2.C: Likewise.
	* g++.dg/diagnostic/top-level-auto-1.C: Likewise.
	* g++.dg/cpp0x/auto9.C: Test some locations too.
	* g++.dg/cpp1z/register1.C: Likewise.
	* g++.dg/cpp1z/register2.C: Likewise.
	* g++.dg/cpp1z/register3.C: Likewise.
	* g++.dg/other/error34.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/diagnostic/auto-storage-1.C
    trunk/gcc/testsuite/g++.dg/diagnostic/no-type-1.C
    trunk/gcc/testsuite/g++.dg/diagnostic/no-type-2.C
    trunk/gcc/testsuite/g++.dg/diagnostic/top-level-auto-1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/cpp0x/auto9.C
    trunk/gcc/testsuite/g++.dg/cpp1z/register1.C
    trunk/gcc/testsuite/g++.dg/cpp1z/register2.C
    trunk/gcc/testsuite/g++.dg/cpp1z/register3.C
    trunk/gcc/testsuite/g++.dg/other/error34.C



More information about the Gcc-cvs mailing list