From 5e659d16e054fabae7422bbbdd8d6337521176af Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Fri, 10 Feb 2017 17:55:58 +0100 Subject: [PATCH] testsuite, rs6000: Don't xfail Wtrampolines.c on -m32 This test does not fail with -m32, so we shouldn't xfail it there. gcc/testsuite/ * gcc.dg/Wtrampolines.c: Do the xfail for only 64-bit powerpc instead of all powerpc. From-SVN: r245336 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/Wtrampolines.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index aab9ef51d0a..4956dcd22db 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-02-10 Segher Boessenkool + + * gcc.dg/Wtrampolines.c: Do the xfail for only 64-bit powerpc instead + of all powerpc. + 2017-02-10 Marek Polacek PR c++/79435 diff --git a/gcc/testsuite/gcc.dg/Wtrampolines.c b/gcc/testsuite/gcc.dg/Wtrampolines.c index e2e9cd4c8fd..7e9646be5c3 100644 --- a/gcc/testsuite/gcc.dg/Wtrampolines.c +++ b/gcc/testsuite/gcc.dg/Wtrampolines.c @@ -28,7 +28,7 @@ void foo (void) double a (int k, pfun x1, pfun x2, pfun x3, pfun x4, pfun x5) { - double b (void) /* { dg-warning "trampoline generated for nested function 'b'" "standard descriptors" { xfail ia64-*-* powerpc64-*-* *-*-aix* } } */ + double b (void) /* { dg-warning "trampoline generated for nested function 'b'" "standard descriptors" { xfail { { ia64-*-* *-*-aix* } || { powerpc*-*-* && lp64 } } } } */ { k = k - 1; return a (k, b, x1, x2, x3, x4 ); -- 2.30.2