[Bug target/41156] [4.4/4.5 Regression] zlib segfault in inflate_table() compiled w/ -O -msse2 ftree-vectorize
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Wed Feb 17 17:24:00 GMT 2010
------- Comment #33 from joseph at codesourcery dot com 2010-02-17 17:24 -------
Subject: Re: [4.4/4.5 Regression] zlib segfault in
inflate_table() compiled w/ -O -msse2 ftree-vectorize
I believe the ABI *is* that the stack must be 16-byte aligned at function
boundaries, although this is not documented other than as a statement of
what GCC does
<http://groups.google.com/group/ia32-abi/browse_thread/thread/4f9b3e5069943bf1>.
This does not of course stop smaller alignment being used for particular
code by private arrangement as long as 16-byte alignment is used when
calling back into user code (for example, it's fine for glibc to build
code not using callbacks with smaller alignment, or for the Linux kernel
to use smaller alignment internally as long as it ensures the full
alignment for signal frames in userspace processes).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41156
More information about the Gcc-bugs
mailing list