This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/41990] Incorrect stack setup on x86_64



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]