Without this the test fails on 32-bit PowerPC.

Is this okay for trunk?


Segher


2017-02-21  Segher Boessenkool  <seg...@kernel.crashing.org>

gcc/testsuite/
        * gcc.dg/plugin/diagnostic-test-expressions-1.c: Add -Wno-psabi
        to dg-options.

---
 gcc/testsuite/gcc.dg/plugin/diagnostic-test-expressions-1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/plugin/diagnostic-test-expressions-1.c 
b/gcc/testsuite/gcc.dg/plugin/diagnostic-test-expressions-1.c
index afbe0f7..b0dbc05 100644
--- a/gcc/testsuite/gcc.dg/plugin/diagnostic-test-expressions-1.c
+++ b/gcc/testsuite/gcc.dg/plugin/diagnostic-test-expressions-1.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O -fdiagnostics-show-caret" } */
+/* { dg-options "-O -fdiagnostics-show-caret -Wno-psabi" } */
 
 /* This is a collection of unittests to verify that we're correctly
    capturing the source code ranges of various kinds of expression.
-- 
1.9.3

Reply via email to