From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 387 invoked by alias); 5 Jun 2006 16:51:06 -0000 Received: (qmail 32718 invoked by alias); 5 Jun 2006 16:50:59 -0000 Date: Mon, 05 Jun 2006 16:51:00 -0000 Message-ID: <20060605165059.32717.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/27020] [4.0/4.1 regression] ICE on invalid array size In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jsm28 at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-06/txt/msg00567.txt.bz2 List-Id: ------- Comment #6 from jsm28 at gcc dot gnu dot org 2006-06-05 16:50 ------- Subject: Bug 27020 Author: jsm28 Date: Mon Jun 5 16:50:45 2006 New Revision: 114394 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114394 Log: PR c/25161 PR c/27020 * c-decl.c (grokdeclarator): Disallow variably modified types at file scope. Avoid marking shared array type of constant size as VLA. testsuite: * gcc.dg/array-10.c: New test. Added: branches/gcc-4_0-branch/gcc/testsuite/gcc.dg/array-10.c - copied unchanged from r114392, trunk/gcc/testsuite/gcc.dg/array-10.c Modified: branches/gcc-4_0-branch/gcc/ChangeLog branches/gcc-4_0-branch/gcc/c-decl.c branches/gcc-4_0-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27020