aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-nested.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-04-26 18:00:04 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2009-04-26 18:00:04 +0100
commite11187cc9473e1ad1d6a6df452187539fd248ed4 (patch)
treef5f749a398961d61350c6b4f85c26984ab3f9154 /gcc/tree-nested.c
parentf6a51d3184cb8cd65a5b9a72312c4f4fb814a384 (diff)
downloadgcc-e11187cc9473e1ad1d6a6df452187539fd248ed4.zip
gcc-e11187cc9473e1ad1d6a6df452187539fd248ed4.tar.gz
gcc-e11187cc9473e1ad1d6a6df452187539fd248ed4.tar.bz2
re PR c/39581 (VLA types at file scope wrongly rejected)
PR c/39581 * c-decl.c (global_bindings_p): Return negative value. (c_variable_size): New. Based on variable_size from stor-layout.c. (grokdeclarator): Call c_variable_size not variable_size. testsuite: * gcc.dg/c99-const-expr-14.c, gcc.dg/gnu99-const-expr-4.c, gcc.dg/vla-21.c: New tests. From-SVN: r146806
Diffstat (limited to 'gcc/tree-nested.c')
0 files changed, 0 insertions, 0 deletions