]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c/25161 (Internal compiler error (segfault) instead of error message)
authorJoseph Myers <joseph@codesourcery.com>
Mon, 5 Jun 2006 00:51:45 +0000 (01:51 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Mon, 5 Jun 2006 00:51:45 +0000 (01:51 +0100)
commit5c076987a461e1ae0e30d0d9e52aa4e1f15fb8a8
tree8ee70774544831e67bf621351fbe7a811f974759
parent1ac8104c2f17d63ea8272c358c0cf3650b66532e
re PR c/25161 (Internal compiler error (segfault) instead of error message)

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.

From-SVN: r114378
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/array-10.c [new file with mode: 0644]