Well I guess everyone everywhere will want to use -fzero-init-padding-bits=all when updating to GCC15 to avoid regressing their uninitialized variable mitigations... Why in the world would the C standard committee work to make things *less* safe by default??!
Edit: this appears to be a decision on GCC's part and not a new change from the C committee. (See down-thread.)
@kees They did send aail about this around or before Christmas about this to lkml btw.
@brauner @uecker @pinskia Yup, I saw that from the bug report (but missed it back in December). Here's a patch, with the selftest results:
https://lore.kernel.org/lkml/20250121003646.work.168-kees@kernel.org/
@kees @brauner @uecker @pinskia I filed https://gcc.gnu.org/PR118575 for maybe some better UX when interacting with -ftrivial-auto-var-init=zero
.
@thesamesam @kees @brauner @uecker @pinskia Okay, this might be me just being stupid here, but in "PR118575", does "PR" stand for "problem report" or something else?