r129216 - in /branches/gcc-4_2-branch/gcc: Chan...
jsm28@gcc.gnu.org
jsm28@gcc.gnu.org
Wed Oct 10 20:46:00 GMT 2007
Author: jsm28
Date: Wed Oct 10 20:46:11 2007
New Revision: 129216
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129216
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:
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/large-size-array-4.c
Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/c-common.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/large-size-array-2.c
More information about the Gcc-cvs
mailing list