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

jason@gcc.gnu.org jason@gcc.gnu.org
Mon May 7 19:22:00 GMT 2018


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



More information about the Gcc-cvs mailing list