This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/35621] gcc.target/i386/ssse3-psignw.c fails at -O3 (violates C/C++ aliasing rules)
- From: "pluto at agmk dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Mar 2008 20:48:35 -0000
- Subject: [Bug testsuite/35621] gcc.target/i386/ssse3-psignw.c fails at -O3 (violates C/C++ aliasing rules)
- References: <bug-35621-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from pluto at agmk dot net 2008-03-18 20:48 -------
(In reply to comment #10)
> Just add -fno-strict-aliasing.
>
just use __builtin_memcpy to avoid ugly casting.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35621