re PR c++/61489 (Wrong warning with -Wmissing-field-initializers.)
authorPaolo Carlini <paolo.carlini@oracle.com>
Thu, 11 Sep 2014 18:08:24 +0000 (18:08 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 11 Sep 2014 18:08:24 +0000 (18:08 +0000)
commit450bfd7d5cd2a048edd1119bc5306b95d6386101
tree26b32d4a7c2b46ee245615c638135bc13711d88f
parentbc138f7bee702b3cc0237add039923edda9fcc24
re PR c++/61489 (Wrong warning with -Wmissing-field-initializers.)

2014-09-11  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/61489
* doc/invoke.texi ([-Wmissing-field-initializers]): Update.

/cp
2014-09-11  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/61489
* typeck2.c (process_init_constructor_record): Do not warn about
missing field initializer if EMPTY_CONSTRUCTOR_P (init).

/testsuite
2014-09-11  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/61489
* g++.dg/warn/Wmissing-field-initializers-1.C: New.
* g++.old-deja/g++.other/warn5.C: Adjust.

From-SVN: r215186
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wmissing-field-initializers-1.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.other/warn5.C