c-common.h (STATEMENT_LIST_HAS_LABEL): New.
authorRichard Henderson <rth@redhat.com>
Thu, 12 Aug 2004 04:09:57 +0000 (21:09 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 12 Aug 2004 04:09:57 +0000 (21:09 -0700)
commit174283a3c26828ee2bf0acd05f6350f439beefcc
tree0cb6f5299b432c6f23ca205a73d8654219b13413
parent159319544b909404d2ba3997c58a0cbe6541030a
c-common.h (STATEMENT_LIST_HAS_LABEL): New.

        * c-common.h (STATEMENT_LIST_HAS_LABEL): New.
        * c-semantics.c (add_stmt): Set it.
        * c-decl.c (finish_decl): Use it to create a new BIND_EXPR
        before instantiating a variable sized type.

From-SVN: r85849
gcc/ChangeLog
gcc/c-common.h
gcc/c-decl.c
gcc/c-semantics.c
gcc/testsuite/gcc.c-torture/execute/20040811-1.c [new file with mode: 0644]