[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

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jun 23 22:04:00 GMT 2011


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.



More information about the Gcc-bugs mailing list