This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/38001] regression in 4.3: alignment checks wrongly optimized away (runtime failure)
- From: "thomas dot orgis at awi dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Nov 2008 13:35:26 -0000
- Subject: [Bug c/38001] regression in 4.3: alignment checks wrongly optimized away (runtime failure)
- References: <bug-38001-15830@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from thomas dot orgis at awi dot de 2008-11-03 13:35 -------
Are you saying that there is no way to protect my library from user programs
that have misaligned stacks?
The whole checking business is in vain, then?
To sad that it working fine with older gccs made be believe that I do something
usefule there in preventing segfaults.
And: In any case, if -mpreferred-stack-boundary obviously contradicts the
aligned attribute, couldn't gcc at least give a compile error on this?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38001