aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-04-25 22:19:09 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2009-04-25 22:19:09 +0100
commit24070fcb42eca4e9df8129f9c3ffb3cf71379fa5 (patch)
tree8c910c03d4c980b208b9616acc0764a504105241 /gcc/c-decl.c
parentafdb7762cb3eb4f2e14a0fd3a774008f684210e8 (diff)
downloadgcc-24070fcb42eca4e9df8129f9c3ffb3cf71379fa5.zip
gcc-24070fcb42eca4e9df8129f9c3ffb3cf71379fa5.tar.gz
gcc-24070fcb42eca4e9df8129f9c3ffb3cf71379fa5.tar.bz2
re PR c/39582 (bad errors for some uses of [*] arrays)
PR c/39582 * c-typeck.c (c_expr_sizeof_type): Create a C_MAYBE_CONST_EXPR with non-null C_MAYBE_CONST_EXPR_PRE if size of a variable-length type is an integer constant. testsuite: * gcc.dg/vla-20.c: New test. From-SVN: r146787
Diffstat (limited to 'gcc/c-decl.c')
0 files changed, 0 insertions, 0 deletions