[Bug c/25161] [4.0/4.1/4.2 Regression] Internal compiler error (segfault) instead of error message
jsm28 at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jun 5 00:52:00 GMT 2006
------- Comment #12 from jsm28 at gcc dot gnu dot org 2006-06-05 00:51 -------
Subject: Bug 25161
Author: jsm28
Date: Mon Jun 5 00:51:45 2006
New Revision: 114378
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114378
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:
trunk/gcc/testsuite/gcc.dg/array-10.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-decl.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25161
More information about the Gcc-bugs
mailing list