------- Comment #2 from jakub at gcc dot gnu dot org 2008-11-03 13:31 ------- The check is not miscompiled, gcc assumes __attribute__((aligned (16))) variables are 16 bytes aligned and uses this everywhere, including optimizing out unnecessary check. This is a user bug, you simply should never call -mpreferred-stack-boundary=4 routines from -mpreferred-stack-boundary=2 compiled code. GCC documentation even warns against this.
-- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38001