public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/80454] -Wmissing-braces wrongly warns about universal zero initializer {0}
[not found] <bug-80454-4@http.gcc.gnu.org/bugzilla/>
@ 2021-09-30 1:56 ` pinskia at gcc dot gnu.org
2023-09-19 16:37 ` mpolacek at gcc dot gnu.org
2023-10-27 21:58 ` pobrn at protonmail dot com
2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-30 1:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80454
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2017-08-01 00:00:00 |2021-9-29
Severity|normal |enhancement
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
clang no longer warns with their C front-end.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c/80454] -Wmissing-braces wrongly warns about universal zero initializer {0}
[not found] <bug-80454-4@http.gcc.gnu.org/bugzilla/>
2021-09-30 1:56 ` [Bug c/80454] -Wmissing-braces wrongly warns about universal zero initializer {0} pinskia at gcc dot gnu.org
@ 2023-09-19 16:37 ` mpolacek at gcc dot gnu.org
2023-10-27 21:58 ` pobrn at protonmail dot com
2 siblings, 0 replies; 3+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2023-09-19 16:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80454
--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
To fix this, we have to somehow propagate the flag constructor_zeroinit up in
pop_init_level.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c/80454] -Wmissing-braces wrongly warns about universal zero initializer {0}
[not found] <bug-80454-4@http.gcc.gnu.org/bugzilla/>
2021-09-30 1:56 ` [Bug c/80454] -Wmissing-braces wrongly warns about universal zero initializer {0} pinskia at gcc dot gnu.org
2023-09-19 16:37 ` mpolacek at gcc dot gnu.org
@ 2023-10-27 21:58 ` pobrn at protonmail dot com
2 siblings, 0 replies; 3+ messages in thread
From: pobrn at protonmail dot com @ 2023-10-27 21:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80454
Barnabás Pőcze <pobrn at protonmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pobrn at protonmail dot com
--- Comment #7 from Barnabás Pőcze <pobrn at protonmail dot com> ---
Created attachment 56319
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56319&action=edit
proposed patch
I would like to see this fixed, so I have tried something, see the attached
patch. It's a bit of a hack at the moment, and I am not sure it fixes
everything (it improves the status quo in any case), any thoughts?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-10-27 21:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-80454-4@http.gcc.gnu.org/bugzilla/>
2021-09-30 1:56 ` [Bug c/80454] -Wmissing-braces wrongly warns about universal zero initializer {0} pinskia at gcc dot gnu.org
2023-09-19 16:37 ` mpolacek at gcc dot gnu.org
2023-10-27 21:58 ` pobrn at protonmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).