[Bug middle-end/37042] Strict-aliasing warnings are printed for _mm_load_si128, even though __m128i is __attribute__((__may_alias__)).

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Aug 7 10:02:00 GMT 2008



------- Comment #3 from rguenth at gcc dot gnu dot org  2008-08-07 10:01 -------
Subject: Bug 37042

Author: rguenth
Date: Thu Aug  7 09:59:58 2008
New Revision: 138836

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138836
Log:
2008-08-07  Richard Guenther  <rguenther@suse.de>

        PR middle-end/37042
        * tree-ssa-alias-warnings.c (nonstandard_alias_p): Ref-all
        pointers can access anything.

        * gcc.dg/Wstrict-aliasing-bogus-ref-all-2.c: New testcase.

Added:
   
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/Wstrict-aliasing-bogus-ref-all-2.c
Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_3-branch/gcc/tree-ssa-alias-warnings.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37042



More information about the Gcc-bugs mailing list