https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98620
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Marek Polacek <mpola...@gcc.gnu.org>: https://gcc.gnu.org/g:814299a9d49c25ae2e8d00ec619559b71833871a commit r11-6606-g814299a9d49c25ae2e8d00ec619559b71833871a Author: Marek Polacek <pola...@redhat.com> Date: Mon Jan 11 11:44:36 2021 -0500 c++: -Wmissing-field-initializers in unevaluated ctx [PR98620] This PR wants us not to warn about missing field initializers when the code in question takes places in decltype and similar. Fixed thus. gcc/cp/ChangeLog: PR c++/98620 * typeck2.c (process_init_constructor_record): Don't emit -Wmissing-field-initializers warnings in unevaluated contexts. gcc/testsuite/ChangeLog: PR c++/98620 * g++.dg/warn/Wmissing-field-initializers-2.C: New test.