https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107908
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- c is uninitialized so it could hold any value including but not limited to a null pointer. In -O0 case, it just happens to have a non null value.