From d8505fac6b1ce928f418e55e5567ff58a100c7a0 Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Mon, 13 Feb 2017 18:22:39 +0100 Subject: [PATCH] rs6000: Fix gcc.dg/tree-ssa/ssa-dom-cse-2.c 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 | 5 +++++ gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2037bfdcdf8..46168e9644e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-02-13 Segher Boessenkool + + * gcc.dg/tree-ssa/ssa-dom-cse-2.c: Do not xfail powerpc64*-*-*. + Instead, xfail powerpc*-*-* && lp64. + 2017-02-13 Segher Boessenkool * gcc.target/powerpc/vec-adde-int128.c: Use p8vector_hw instead of diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c index d2600db160a..a660e82bed2 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c @@ -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*-*-* } } } } } } */ -- 2.30.2