[Bug middle-end/105539] -ftrivial-auto-var-init=zero happening too late?

kees at outflux dot net gcc-bugzilla@gcc.gnu.org
Tue May 10 22:13:29 GMT 2022


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

--- Comment #7 from Kees Cook <kees at outflux dot net> ---
Right, perhaps I should rename this bug? The much more surprising thing is the
lack of warning about the uninit use. With or without -ftrivial-auto-var-init,
I'd want to have the diagnostic that a UB may have happened.


More information about the Gcc-bugs mailing list