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