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]

r260012 - in /trunk/gcc: cp/ChangeLog cp/cp-tre...


Author: jason
Date: Mon May  7 19:22:35 2018
New Revision: 260012

URL: https://gcc.gnu.org/viewcvs?rev=260012&root=gcc&view=rev
Log:
	PR c++/85618 - ICE with initialized VLA.

	* tree.c (vla_type_p): New.
	* typeck2.c (store_init_value, split_nonconstant_init_1): Check it
	rather than array_of_runtime_bound_p.

Added:
    trunk/gcc/testsuite/g++.dg/ext/vla20.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/tree.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]