Skip to content
Snippets Groups Projects
Commit dc95eae2 authored by jsm28's avatar jsm28
Browse files

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.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114378 138bc75d-0d04-0410-961f-82ee72b054a4
parent ec63b02e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment