[Bug c/38001] regression in 4.3: alignment checks wrongly optimized away (runtime failure)

thomas dot orgis at awi dot de gcc-bugzilla@gcc.gnu.org
Mon Nov 3 13:36:00 GMT 2008



------- 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



More information about the Gcc-bugs mailing list