Skip to content
Snippets Groups Projects
Commit 92f6fd0b authored by Joseph Myers's avatar Joseph Myers Committed by Joseph Myers
Browse files

re PR c/39564 (variably modified function return types not always diagnosed)

	PR c/39564
	* c-decl.c (grokdeclarator): Diagnose declarations of functions
	with variably modified return type and no storage class
	specifiers, except for the case of nested functions.  Distinguish
	extern declarations of functions with variably modified return
	types from those of objects with variably modified types.

testsuite:
	* gcc.dg/vla-19.c: New test.

From-SVN: r146778
parent f88d0772
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