From 1cd9bef89ef25b3fd506cedbc82e8bc00ff56fa8 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 12 Feb 2020 23:18:56 +0100 Subject: [PATCH] testsuite: Fix up gcc.target/powerpc/pr93122.c test The recent renaming of PowerPC -mprefixed-addr option to -mprefixed has not adjusted the gcc.target/powerpc/pr93122.c test, so it now FAIL: gcc.target/powerpc/pr93122.c (test for excess errors) Excess errors: xgcc: error: unrecognized command-line option '-mprefixed-addr'; did you mean '-mprefixed'? 2020-02-12 Jakub Jelinek * gcc.target/powerpc/pr93122.c: Use -mprefixed instead of -mprefixed-addr in dg-options. --- gcc/testsuite/ChangeLog | 3 +++ gcc/testsuite/gcc.target/powerpc/pr93122.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2b4a189c108..a8488e0688a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2020-02-12 Jakub Jelinek + * gcc.target/powerpc/pr93122.c: Use -mprefixed instead of + -mprefixed-addr in dg-options. + PR middle-end/93663 * gcc.dg/torture/builtin-round-roundeven.c (main): Add tests for DBL_MAX, inf, their negations and nan. diff --git a/gcc/testsuite/gcc.target/powerpc/pr93122.c b/gcc/testsuite/gcc.target/powerpc/pr93122.c index 158e6788edb..701711a6af5 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr93122.c +++ b/gcc/testsuite/gcc.target/powerpc/pr93122.c @@ -1,6 +1,6 @@ /* PR target/93122 */ /* { dg-do compile { target lp64 } } */ -/* { dg-options "-fstack-clash-protection -mprefixed-addr -mfuture" } */ +/* { dg-options "-fstack-clash-protection -mprefixed -mfuture" } */ void bar (char *); -- 2.30.2