re PR testsuite/35621 (gcc.target/i386/ssse3-*.c violates C/C++ aliasing rules)
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 20 Mar 2008 14:40:10 +0000 (14:40 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 20 Mar 2008 14:40:10 +0000 (07:40 -0700)
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.

From-SVN: r133380

17 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/ssse3-pabsb.c
gcc/testsuite/gcc.target/i386/ssse3-pabsd.c
gcc/testsuite/gcc.target/i386/ssse3-pabsw.c
gcc/testsuite/gcc.target/i386/ssse3-palignr.c
gcc/testsuite/gcc.target/i386/ssse3-phaddd.c
gcc/testsuite/gcc.target/i386/ssse3-phaddsw.c
gcc/testsuite/gcc.target/i386/ssse3-phaddw.c
gcc/testsuite/gcc.target/i386/ssse3-phsubd.c
gcc/testsuite/gcc.target/i386/ssse3-phsubsw.c
gcc/testsuite/gcc.target/i386/ssse3-phsubw.c
gcc/testsuite/gcc.target/i386/ssse3-pmaddubsw.c
gcc/testsuite/gcc.target/i386/ssse3-pmulhrsw.c
gcc/testsuite/gcc.target/i386/ssse3-pshufb.c
gcc/testsuite/gcc.target/i386/ssse3-psignb.c
gcc/testsuite/gcc.target/i386/ssse3-psignd.c
gcc/testsuite/gcc.target/i386/ssse3-psignw.c

index c140d1e5e29879a9eaf1d19da5333ccb950177c0..7cf08190563fba6ccfbccfc949913babb983f3e7 100644 (file)
@@ -1,3 +1,23 @@
+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.
+
 2008-03-20  Andreas Schwab  <schwab@suse.de>
 
        PR testsuite/35647
index 83e738feedde1ba6e04d400dfe27f9b55f1d208d..1a2445d4f299648d2c3ccceb4234906b914cbcaf 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-effective-target ssse3 } */
-/* { dg-options "-O2 -mssse3" } */
+/* { dg-options "-O2 -fno-strict-aliasing -mssse3" } */
 
 #include "ssse3-check.h"
 #include "ssse3-vals.h"
index e677cc50fa8d9ddb0687e29801bbb7651585c8b9..22eb512ed35007203160fab9c0aff6e5e72708a3 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-effective-target ssse3 } */
-/* { dg-options "-O2 -mssse3" } */
+/* { dg-options "-O2 -fno-strict-aliasing -mssse3" } */
 
 #include "ssse3-check.h"
 #include "ssse3-vals.h"
index 431bd30b01bbf98670fe1090620d405b444674d1..aba4f0503151238d658b6b4d84024e9ecc6e4793 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-effective-target ssse3 } */
-/* { dg-options "-O2 -mssse3" } */
+/* { dg-options "-O2 -fno-strict-aliasing -mssse3" } */
 
 #include "ssse3-check.h"
 #include "ssse3-vals.h"
index 440de8501b45a8b96dce41baa32e150c0cdc6b53..386cddb2ee6cd2d21f5abe60077654ae182d8e2b 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-effective-target ssse3 } */
-/* { dg-options "-O2 -mssse3" } */
+/* { dg-options "-O2 -fno-strict-aliasing -mssse3" } */
 
 #include "ssse3-check.h"
 #include "ssse3-vals.h"
index b9c967d52a7c40f6dc264b6b9530550455d077d3..675d233360ce405878d3f44da164b5a1107f1990 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-effective-target ssse3 } */
-/* { dg-options "-O2 -mssse3" } */
+/* { dg-options "-O2 -fno-strict-aliasing -mssse3" } */
 
 #include "ssse3-check.h"
 #include "ssse3-vals.h"
index b8ac8a6ed99a3ca7873617d498c106db2ab83c66..563dcdb6af162a76f552a765b84e55cd56ebb1a2 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-effective-target ssse3 } */
-/* { dg-options "-O2 -mssse3" } */
+/* { dg-options "-O2 -fno-strict-aliasing -mssse3" } */
 
 #include "ssse3-check.h"
 #include "ssse3-vals.h"
index 1ce1915dbf1a53cc51ff67e6d3821c1127163a32..008a0db2d38258887a23a17e5fcbb1080e37763e 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-effective-target ssse3 } */
-/* { dg-options "-O2 -mssse3" } */
+/* { dg-options "-O2 -fno-strict-aliasing -mssse3" } */
 
 #include "ssse3-check.h"
 #include "ssse3-vals.h"
index c607c7c88cb23ccfabd1bb7abecedea9283098eb..19a1dc1da0778b3ee9f0acc7ec01202ac5b399b3 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-effective-target ssse3 } */
-/* { dg-options "-O2 -mssse3" } */
+/* { dg-options "-O2 -fno-strict-aliasing -mssse3" } */
 
 #include "ssse3-check.h"
 #include "ssse3-vals.h"
index 926ae064f8c2b50ab871ba67a7eba4ba347740e8..506844f7b10ac15d37ca9e0b1584545b88fbb119 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-effective-target ssse3 } */
-/* { dg-options "-O2 -mssse3" } */
+/* { dg-options "-O2 -fno-strict-aliasing -mssse3" } */
 
 #include "ssse3-check.h"
 #include "ssse3-vals.h"
index eb26fa1ed97cf3e67500aef6a7679bf0c7c48cd5..7fd67faa20e282c582eed05dc2aadaaca6f102a2 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-effective-target ssse3 } */
-/* { dg-options "-O2 -mssse3" } */
+/* { dg-options "-O2 -fno-strict-aliasing -mssse3" } */
 
 #include "ssse3-check.h"
 #include "ssse3-vals.h"
index 8803f646caf04da7da5b5d32bd27516f30147886..3a2a27c0f3a190792c96ef3e1a3ad4977820f037 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-effective-target ssse3 } */
-/* { dg-options "-O2 -mssse3" } */
+/* { dg-options "-O2 -fno-strict-aliasing -mssse3" } */
 
 #include "ssse3-check.h"
 #include "ssse3-vals.h"
index 8186e60e1ffe9a924dd57ce1cf4bbace31bb310f..193c4fc9acad54afe7abae0618a775a1d17f9b09 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-effective-target ssse3 } */
-/* { dg-options "-O2 -mssse3" } */
+/* { dg-options "-O2 -fno-strict-aliasing -mssse3" } */
 
 #include "ssse3-check.h"
 #include "ssse3-vals.h"
index af6055fce0697fe99fcc4d63dc5be5ee68e2f88e..0a24d9e87f9a649997dd1ba37bf856ef1f95b41b 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-effective-target ssse3 } */
-/* { dg-options "-O2 -mssse3" } */
+/* { dg-options "-O2 -fno-strict-aliasing -mssse3" } */
 
 #include "ssse3-check.h"
 #include "ssse3-vals.h"
index 8f44cd86f4cfde0d3a552481caf895eeec78146e..ba7617bf86982811870c16ff15b7442660a1d824 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-effective-target ssse3 } */
-/* { dg-options "-O2 -mssse3" } */
+/* { dg-options "-O2 -fno-strict-aliasing -mssse3" } */
 
 #include "ssse3-check.h"
 #include "ssse3-vals.h"
index a1dd3e74ae7485beca1ec2e7398c08a296f89513..8b1ab4d880a34dccfd741e4e972b6f5c9dd5248e 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-effective-target ssse3 } */
-/* { dg-options "-O2 -mssse3" } */
+/* { dg-options "-O2 -fno-strict-aliasing -mssse3" } */
 
 #include "ssse3-check.h"
 #include "ssse3-vals.h"
index 3770537fa88a54d8eedf5412c2974cde9a64afc2..04e9ed27cfaef0739fe2f04c0aad2374e42cde1d 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-effective-target ssse3 } */
-/* { dg-options "-O2 -mssse3" } */
+/* { dg-options "-O2 -fno-strict-aliasing -mssse3" } */
 
 #include "ssse3-check.h"
 #include "ssse3-vals.h"