From: Bernd Edlinger Date: Mon, 2 May 2016 14:41:25 +0000 (+0000) Subject: spec-options.c: Run the test on all targets. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=72407e00fd86e794aa5f0cb36523e43798ad35f8;p=gcc.git spec-options.c: Run the test on all targets. 2016-05-02 Bernd Edlinger * gcc.dg/spec-options.c: Run the test on all targets. * gcc.dg/foo.specs: Use cpp_unique_options. From-SVN: r235762 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2ea3d7700e3..7d7dae4dcf9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-05-02 Bernd Edlinger + + * gcc.dg/spec-options.c: Run the test on all targets. + * gcc.dg/foo.specs: Use cpp_unique_options. + 2016-05-02 Marc Glisse * gcc.dg/tree-ssa/unord.c: New testcase. diff --git a/gcc/testsuite/gcc.dg/foo.specs b/gcc/testsuite/gcc.dg/foo.specs index 8819249fa34..45fc84306cd 100644 --- a/gcc/testsuite/gcc.dg/foo.specs +++ b/gcc/testsuite/gcc.dg/foo.specs @@ -1,2 +1,2 @@ -*cppruntime: +*cpp_unique_options: + %{tfoo: -DFOO} diff --git a/gcc/testsuite/gcc.dg/spec-options.c b/gcc/testsuite/gcc.dg/spec-options.c index e3ab23ac110..01d0a0929e0 100644 --- a/gcc/testsuite/gcc.dg/spec-options.c +++ b/gcc/testsuite/gcc.dg/spec-options.c @@ -1,8 +1,7 @@ /* Check that -mfoo is accepted if defined in a user spec and that it is not passed on the command line. */ /* Must be processed in EXTRA_SPECS to run. */ -/* { dg-do compile } */ -/* { dg-do run { target sh*-*-* } } */ +/* { dg-do run } */ /* { dg-options "-B${srcdir}/gcc.dg --specs=foo.specs -tfoo" } */ extern void abort(void);