r128811 - in /trunk/gcc: ChangeLog c-common.c t...

jsm28@gcc.gnu.org jsm28@gcc.gnu.org
Wed Sep 26 12:32:00 GMT 2007


Author: jsm28
Date: Wed Sep 26 12:32:27 2007
New Revision: 128811

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128811
Log:
	PR c/25309
	* c-common.c (complete_array_type): Diagnose too-large arrays and
	set type to error_mark_node.

testsuite:
	* gcc.dg/large-size-array-2.c: Expect diagnostic for too-large
	array.
	* gcc.dg/large-size-array-4.c: New.  Copy of large-size-array-2.c
	without -O2.

Added:
    trunk/gcc/testsuite/gcc.dg/large-size-array-4.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-common.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/large-size-array-2.c



More information about the Gcc-cvs mailing list