This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Author: mpolacek
Date: Thu Sep  5 15:37:52 2019
New Revision: 275421

URL: https://gcc.gnu.org/viewcvs?rev=275421&root=gcc&view=rev
Log:
	PR c++/91644 - ICE with constinit in function template.
	* decl.c (start_decl): Call retrofit_lang_decl for constinit variables.
	* pt.c (tsubst_expr): Pass LOOKUP_CONSTINIT down to cp_finish_decl for
	constinit variables.

	* g++.dg/cpp2a/constinit13.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp2a/constinit13.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]