re PR c/63480 (-Wmissing-field-initializers should not warn about intentionally empty...
authorMarek Polacek <polacek@redhat.com>
Thu, 9 Oct 2014 08:25:50 +0000 (08:25 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 9 Oct 2014 08:25:50 +0000 (08:25 +0000)
commit84937de246b5aa038ef6cfcec3a20297a690bde0
tree81f79418b200e4d8a6f9fe41ab6256b7781ea7ef
parent77ed39034fda4f949fea955bfadbdab36df5d94a
re PR c/63480 (-Wmissing-field-initializers should not warn about intentionally empty initializers (or that should be a separate option))

PR c/63480
* c-typeck.c (pop_init_level): Don't warn about initializing
with { }.

* gcc.dg/pr63480.c: New test.

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