[Bug c/41990] Incorrect stack setup on x86_64
cube at cubidou dot net
gcc-bugzilla@gcc.gnu.org
Sun Nov 8 20:28:00 GMT 2009
------- Comment #1 from cube at cubidou dot net 2009-11-08 20:27 -------
Created an attachment (id=18995)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18995&action=view)
Test case
This very simple C file will expose the bug. In the assembler output, see how
only 152 is substracted to %rsp when the space taken by the variables
themselves is already 268 bytes. Uncommenting the function call will make gcc
compute the correct value.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41990
More information about the Gcc-bugs
mailing list