diff options
author | Marek Polacek <polacek@redhat.com> | 2014-05-02 05:40:38 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2014-05-02 05:40:38 +0000 |
commit | 6a358dcb65c409f966347dc4cfce1f53942f7173 (patch) | |
tree | 3886530e4ee93fe1ce5e786a6e2bbb874f908b75 /gcc/c/c-tree.h | |
parent | cea4a152f6c7824ec28e27580f2086b7c3e8f87c (diff) | |
download | gcc-6a358dcb65c409f966347dc4cfce1f53942f7173.zip gcc-6a358dcb65c409f966347dc4cfce1f53942f7173.tar.gz gcc-6a358dcb65c409f966347dc4cfce1f53942f7173.tar.bz2 |
re PR c/60784 (Spurious -Wmissing-field-initializers warning for anonymous structure)
PR c/60784
* c-typeck.c (push_init_level): Set constructor_designated to
p->designated for structures.
* gcc.dg/pr60784.c: New test.
From-SVN: r209998
Diffstat (limited to 'gcc/c/c-tree.h')
0 files changed, 0 insertions, 0 deletions