r276191 - in /trunk/gcc/cp: ChangeLog cp-tree.h...

jason@gcc.gnu.org jason@gcc.gnu.org
Fri Sep 27 18:19:00 GMT 2019


Author: jason
Date: Fri Sep 27 18:19:55 2019
New Revision: 276191

URL: https://gcc.gnu.org/viewcvs?rev=276191&root=gcc&view=rev
Log:
	* cp-tree.h (class iloc_sentinel): New.

We didn't already have a sentinel for input_location, and while
temp_override would work, it would also happily set input_location to 0,
which breaks things that try to look up the associated filename.

	* decl.c (grokdeclarator, finish_enum_value_list): Use it.
	* mangle.c (mangle_decl_string): Use it.
	* pt.c (perform_typedefs_access_check): Use it.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/mangle.c
    trunk/gcc/cp/pt.c



More information about the Gcc-cvs mailing list