This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]