rs6000: Fix gcc.dg/tree-ssa/ssa-dom-cse-2.c
authorSegher Boessenkool <segher@kernel.crashing.org>
Mon, 13 Feb 2017 17:22:39 +0000 (18:22 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Mon, 13 Feb 2017 17:22:39 +0000 (18:22 +0100)
The testcase should xfail when compiling for a 64-bit target, not when
the default target is 64-bit.

gcc/testsuite/
* gcc.dg/tree-ssa/ssa-dom-cse-2.c: Do not xfail powerpc64*-*-*.
Instead, xfail powerpc-*-*-* && lp64.

From-SVN: r245396

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c

index 2037bfd..46168e9 100644 (file)
@@ -1,5 +1,10 @@
 2017-02-13  Segher Boessenkool  <segher@kernel.crashing.org>
 
+       * gcc.dg/tree-ssa/ssa-dom-cse-2.c: Do not xfail powerpc64*-*-*.
+       Instead, xfail powerpc*-*-* && lp64.
+
+2017-02-13  Segher Boessenkool  <segher@kernel.crashing.org>
+
        * gcc.target/powerpc/vec-adde-int128.c: Use p8vector_hw instead of
        powerpc_p8vector_ok.
        * gcc.target/powerpc/vec-addec-int128.c: Ditto.
index d2600db..a660e82 100644 (file)
@@ -25,4 +25,4 @@ foo ()
    but the loop reads only one element at a time, and DOM cannot resolve these.
    The same happens on powerpc depending on the SIMD support available.  */
 
-/* { dg-final { scan-tree-dump "return 28;" "optimized" { xfail { { alpha*-*-* hppa*64*-*-* powerpc64*-*-* } || { { sparc*-*-* && lp64 } || { riscv*-*-* && lp64 } } } } } } */
+/* { dg-final { scan-tree-dump "return 28;" "optimized" { xfail { { alpha*-*-* hppa*64*-*-* } || { lp64 && { powerpc*-*-* sparc*-*-* riscv*-*-* } } } } } } */