This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/27020] [4.0/4.1 regression] ICE on invalid array size



------- Comment #5 from jsm28 at gcc dot gnu dot org  2006-06-05 14:30 -------
Subject: Bug 27020

Author: jsm28
Date: Mon Jun  5 14:29:52 2006
New Revision: 114388

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114388
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_1-branch/gcc/testsuite/gcc.dg/array-10.c
      - copied unchanged from r114387, trunk/gcc/testsuite/gcc.dg/array-10.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/c-decl.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27020


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]