From e6655a5f986e217ffb3ab6d6d07cba7216d3d626 Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Tue, 21 Feb 2017 13:12:55 +0100 Subject: [PATCH] Add -Wno-psabi to diagnostic-test-expressions-1.c options Without this the test fails on 32-bit PowerPC. gcc/testsuite/ * gcc.dg/plugin/diagnostic-test-expressions-1.c: Add -Wno-psabi to dg-options. From-SVN: r245625 --- gcc/testsuite/ChangeLog | 7 ++++++- gcc/testsuite/gcc.dg/plugin/diagnostic-test-expressions-1.c | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9873e07..7161eb0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,4 +1,9 @@ -2016-02-21 Kyrylo Tkachov +2017-02-21 Segher Boessenkool + + * gcc.dg/plugin/diagnostic-test-expressions-1.c: Add -Wno-psabi + to dg-options. + +2017-02-21 Kyrylo Tkachov * gcc.dg/gimplefe-26.c: Require c99_runtime. 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. -- 2.7.4