diff mbox

Add -Wno-psabi to diagnostic-test-expressions-1.c options

Message ID 48c74b3beb788758169b24f7c23444df5d2637bb.1487678106.git.segher@kernel.crashing.org
State New
Headers show

Commit Message

Segher Boessenkool Feb. 21, 2017, noon UTC
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(-)

Comments

Jakub Jelinek Feb. 21, 2017, 12:08 p.m. UTC | #1
On Tue, Feb 21, 2017 at 12:00:03PM +0000, Segher Boessenkool wrote:
> 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.

Ok, thanks.

	Jakub
diff mbox

Patch

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.