https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38274
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- -fstack-protector (-all) does not detect all buffer overflows and is not designed that way (or even documented that way). It only adds one space at the end of the stack to detect if there was a buffer overflow but it is also aligned so it might be further out than just one location too.