r260227 - in /trunk/gcc: c-family/ChangeLog c-f...

jason@gcc.gnu.org jason@gcc.gnu.org
Mon May 14 14:49:00 GMT 2018


Author: jason
Date: Mon May 14 14:49:45 2018
New Revision: 260227

URL: https://gcc.gnu.org/viewcvs?rev=260227&root=gcc&view=rev
Log:
	* pt.c (tsubst) [ARRAY_TYPE]: Check valid_array_size_p.

	(tsubst_copy_and_build) [NEW_EXPR]: Clear in_decl.

gcc/c-family/
	* c-common.c (valid_array_size_p): Add complain parameter.
	* c-common.h: ...which defaults to true.

Added:
    trunk/gcc/testsuite/g++.dg/template/array30.C
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/c-family/c-common.h
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/g++.dg/init/new38.C



More information about the Gcc-cvs mailing list