[Bug testsuite/70364] New: gcc.target/i386/cleanup-[12].c don't align stack properly
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Mar 22 19:44:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70364
Bug ID: 70364
Summary: gcc.target/i386/cleanup-[12].c don't align stack
properly
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
gcc.target/i386/cleanup-[12].c has
".subsection 1\n\t"
".type _L_mutex_lock_%=, @function\n"
"_L_mutex_lock_%=:\n"
"1:\t" "leaq %1, %%rdi\n"
"2:\t" "subq $128, %%rsp\n"
"3:\t" "call bar\n"
"4:\t" "addq $128, %%rsp\n"
"5:\t" "jmp 24f\n"
"6:\t" ".size _L_mutex_lock_%=, .-_L_mutex_lock_%=\n\t"
It doesn't align stack to 16-byte boundary when calling bar.
More information about the Gcc-bugs
mailing list