[Bug target/34341] GCC generates incorrect code on ARM in certain case, resulting in stack corruption
awalbran at innaworks dot com
gcc-bugzilla@gcc.gnu.org
Wed May 13 21:27:00 GMT 2009
------- Comment #2 from awalbran at innaworks dot com 2009-05-13 21:27 -------
Yes, I agree that the testcase does not make much sense, it is just the
smallest testcase that I could find which demonstrates the bug. It is fine that
the return value is undefined; the problem is that the stack pointer gets
corrupted, which should never happen no matter what the function happens to do.
However, if I remember correctly this bug no longer occurs in a more recent
version of GCC, so I guess this report is mostly just useful for regression
testing now.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34341
More information about the Gcc-bugs
mailing list