r267029 - /trunk/gcc/cp/decl.c

paolo@gcc.gnu.org paolo@gcc.gnu.org
Tue Dec 11 17:47:00 GMT 2018


Author: paolo
Date: Tue Dec 11 17:47:56 2018
New Revision: 267029

URL: https://gcc.gnu.org/viewcvs?rev=267029&root=gcc&view=rev
Log:
/cp
2018-12-11  Paolo Carlini  <paolo.carlini@oracle.com>

	* decl.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.

Modified:
    trunk/gcc/cp/decl.c



More information about the Gcc-cvs mailing list