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
This commit is contained in:
Segher Boessenkool 2017-02-10 17:55:58 +01:00 committed by Segher Boessenkool
parent 3799a5b853
commit 5e659d16e0
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-02-10 Segher Boessenkool <segher@kernel.crashing.org>
* gcc.dg/Wtrampolines.c: Do the xfail for only 64-bit powerpc instead
of all powerpc.
2017-02-10 Marek Polacek <polacek@redhat.com>
PR c++/79435

View File

@ -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 );