This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Add -Wno-psabi to diagnostic-test-expressions-1.c options
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Segher Boessenkool <segher at kernel dot crashing dot org>
- Date: Tue, 21 Feb 2017 12:00:03 +0000
- Subject: [PATCH] Add -Wno-psabi to diagnostic-test-expressions-1.c options
- Authentication-results: sourceware.org; auth=none
Without this the test fails on 32-bit PowerPC.
Is this okay for trunk?
Segher
2017-02-21 Segher Boessenkool <segher@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