re PR c/17322 (initializer folding broken)
authorRichard Henderson <rth@redhat.com>
Thu, 9 Sep 2004 17:36:42 +0000 (10:36 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 9 Sep 2004 17:36:42 +0000 (10:36 -0700)
commit116df7864046513771505f127b76411ecea0ede3
tree554e99807d215b24b2560c87ef3c474674a53b96
parent41374e13ac15863e80fff7c4b8731ab34b1921f9
re PR c/17322 (initializer folding broken)

        PR c/17322
        * c-typeck.c (valid_compound_expr_initializer): Use only
        initializer_constant_valid_p, and not TREE_CONSTANT.
        (digest_init): Likewise.
        (output_init_element): Likewise.

From-SVN: r87245
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/gcc.dg/pr17322.c [new file with mode: 0644]