[Bug middle-end/80710] Stack smashing detected in correct code depending on optimization flag

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 11 15:23:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80710

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So what happening here is you are not calling the function in ABI compatible
way at all.  So this code is way undefined.


More information about the Gcc-bugs mailing list