https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90938
--- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Martin Sebor <mse...@gcc.gnu.org>: https://gcc.gnu.org/g:cb2409c60aeff498064346f85165531a3bbead14 commit r10-7034-gcb2409c60aeff498064346f85165531a3bbead14 Author: Martin Sebor <mse...@redhat.com> Date: Wed Mar 4 18:19:31 2020 -0700 PR c++/90938 - Initializing array with {1} works but not {0} gcc/cp/ChangeLog: PR c++/90938 * tree.c (type_initializer_zero_p): Fail for structs initialized with non-structs. gcc/testsuite/ChangeLog: PR c++/90938 * g++.dg/init/array55.C: New test. * g++.dg/init/array56.C: New test. * g++.dg/cpp2a/nontype-class33.C: New test.