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]

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


Author: jason
Date: Wed Nov 16 22:42:24 2016
New Revision: 242523

URL: https://gcc.gnu.org/viewcvs?rev=242523&root=gcc&view=rev
Log:
	PR c++/78373 - ICE with TREE_CONSTANT reference

	* decl.c (cp_finish_decl): Don't set TREE_CONSTANT on a reference.
	* typeck2.c (store_init_value): Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/opt/pr78373.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/typeck2.c


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