re PR c/36750 (-Wmissing-field-initializers relaxation request)
authorAlexander Monakov <amonakov@ispras.ru>
Fri, 22 Apr 2011 11:53:01 +0000 (15:53 +0400)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Fri, 22 Apr 2011 11:53:01 +0000 (15:53 +0400)
commit49819fef626b1757ad21c03f0695e68388fdb42d
treedbb312b750bf832d5eefdaa7dad7fba42aa22089
parent6a1605adc6bf9b2f4ee49615e9730f038b60c935
re PR c/36750 (-Wmissing-field-initializers relaxation request)

PR c/36750
* c-typeck.c (pop_init_level): Do not warn about initializing
with ` = {0}'.

testsuite:
* gcc.dg/missing-field-init-2.c: Update testcase.

From-SVN: r172857
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/missing-field-init-2.c