This is the mail archive of the gcc-patches@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]

Re: PATCH: PR testsuite/35621: gcc.target/i386/ssse3-*.c violates C/C++ aliasing rules


Hello!

> 2008-03-20  H.J. Lu  <hongjiu.lu@intel.com>
>
> 	PR testsuite/35621
> 	* gcc.target/i386/ssse3-pabsb.c: Add -fno-strict-aliasing.
> 	* gcc.target/i386/ssse3-pabsd.c: Likewise.
> 	* gcc.target/i386/ssse3-pabsw.c: Likewise.
> 	* gcc.target/i386/ssse3-palignr.c: Likewise.
> 	* gcc.target/i386/ssse3-phaddd.c: Likewise.
> 	* gcc.target/i386/ssse3-phaddsw.c: Likewise.
> 	* gcc.target/i386/ssse3-phaddw.c: Likewise.
> 	* gcc.target/i386/ssse3-phsubd.c: Likewise.
> 	* gcc.target/i386/ssse3-phsubsw.c: Likewise.
> 	* gcc.target/i386/ssse3-phsubw.c: Likewise.
> 	* gcc.target/i386/ssse3-pmaddubsw.c: Likewise.
> 	* gcc.target/i386/ssse3-pmulhrsw.c: Likewise.
> 	* gcc.target/i386/ssse3-pshufb.c: Likewise.
> 	* gcc.target/i386/ssse3-psignb.c: Likewise.
> 	* gcc.target/i386/ssse3-psignd.c: Likewise.
> 	* gcc.target/i386/ssse3-psignw.c: Likewise.

Well... not the cleanest solution, but since the core of the tests is
not affected by this workaround, OK for mainline and 4.3.

Uros.


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