------- Comment #17 from jsm28 at gcc dot gnu dot org 2007-10-10 20:46 ------- Subject: Bug 25309
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 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25309