This test does not fail with -m32, so we shouldn't xfail it there.
Tested on powerpc64-linux {-m32,-m64}. Is this okay for trunk?
Segher
2017-02-09 Segher Boessenkool <[email protected]>
gcc/testsuite/
* gcc.dg/Wtrampolines.c: Do the xfail for only 64-bit powerpc instead
of all powerpc.
---
gcc/testsuite/gcc.dg/Wtrampolines.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/Wtrampolines.c
b/gcc/testsuite/gcc.dg/Wtrampolines.c
index e2e9cd4..7e9646b 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 );
--
1.9.3