https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99797
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #4) > (In reply to Martin Uecker from comment #3) > > The C standard says (6.3.2.1p2) > > J.2 Undefined behavior > > — The value of an object with automatic storage duration is used while it is > indeterminate (6.2.4, 6.7.9, 6.8). 6.9p10 If an object that has automatic storage duration is not initialized explicitly, its value is indeterminate. Is that enough?