https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48504
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME Status|UNCONFIRMED |RESOLVED --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- -fstack-protector has worked for VLA since at least GCC 4.1.2 (which was released in 2007). So closing as works for me.