This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/49503] Incorrect stack alignment, produced by inline assembler in tests gcc.target/i386/cleanup-1.c and gcc.target/i386/cleanup-2.c
- 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: Thu, 23 Jun 2011 22:04:21 +0000
- Subject: [Bug testsuite/49503] Incorrect stack alignment, produced by inline assembler in tests gcc.target/i386/cleanup-1.c and gcc.target/i386/cleanup-2.c
- Auto-submitted: auto-generated
- References: <bug-49503-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49503
--- Comment #11 from H.J. Lu <hjl.tools at gmail dot com> 2011-06-23 22:03:49 UTC ---
(In reply to comment #10)
> The testcase tests what glibc does, so IMHO it should stay as is. None of the
> functions that are called with misaligned stack actually really require it to
> be aligned.
But gcc may generate SSE codes and assume stack is 16byte aligned,
which leads to segfault.