This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/70364] New: gcc.target/i386/cleanup-[12].c don't align stack properly
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 22 Mar 2016 19:44:20 +0000
- Subject: [Bug testsuite/70364] New: gcc.target/i386/cleanup-[12].c don't align stack properly
- Auto-submitted: auto-generated
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.