[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

rose.garcia-eggl2fk at yopmail dot com gcc-bugzilla@gcc.gnu.org
Sun Aug 3 19:33:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119

--- Comment #18 from Rose Garcia <rose.garcia-eggl2fk at yopmail dot com> ---
Created attachment 33229
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33229&action=edit
backported fix for gcc 4.8.3

oh, is that so? that's unfortunate, as gcc > 4.7 requires a C++ compiler to
bootstrap a C compiler.

either way, attaching a backport to gcc 4.8.3.
unlike the previous backport it wasn't heavily tested, but it seemed to do the
right thing in some simple testcases; and there was only one minor change
needed to get the upstream patch to apply (different argument count for
init_warning()).



More information about the Gcc-bugs mailing list