https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87546
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to graham.stott77 from comment #3) > 'b' is never assigned a value, so surely it's undefined No. b has static storage duration and therefore it is initialized to zero.