[Bug target/70063] msp430 stack corruption for naked functions

awygle at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Mar 3 13:05:00 GMT 2016


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

--- Comment #1 from Andrew Wygle <awygle at gmail dot com> ---
A quick correction - as my example above accidentally shows, compiling with
optimizations isn't a guarantee of avoiding this problem, it just sometimes
helps if the arguments are unused, as the optimizer will remove the attempt to
save them.


More information about the Gcc-bugs mailing list