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 c/38001] regression in 4.3: alignment checks wrongly optimized away (runtime failure)



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


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