aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-04-25 19:55:50 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2009-04-25 19:55:50 +0100
commit92f6fd0b80bedd1ed200c687f2c9f82e1c09cd1a (patch)
tree37e3ee9a7eeffd28c6d57a7ad6c934131c358b1b /libcpp
parentf88d07724fad4b84d8e73ff30b6f3c16cd832ef3 (diff)
downloadgcc-92f6fd0b80bedd1ed200c687f2c9f82e1c09cd1a.zip
gcc-92f6fd0b80bedd1ed200c687f2c9f82e1c09cd1a.tar.gz
gcc-92f6fd0b80bedd1ed200c687f2c9f82e1c09cd1a.tar.bz2
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
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions