https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80152
--- Comment #5 from Sebastian Dröge <slomo at coaxion dot net> --- Because the value of uninitialized variables is implementation-defined, and as such gcc can freely set it to anything that it wants? That would explain it then, yes. Thanks