From: Segher Boessenkool Date: Tue, 21 Feb 2017 12:12:55 +0000 (+0100) Subject: Add -Wno-psabi to diagnostic-test-expressions-1.c options X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6655a5f986e217ffb3ab6d6d07cba7216d3d626;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9873e07b9ab..7161eb0cfda 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 afbe0f734a2..b0dbc05bc1d 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.