spec-options.c: Run the test on all targets.

2016-05-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * gcc.dg/spec-options.c: Run the test on all targets.
        * gcc.dg/foo.specs: Use cpp_unique_options.

From-SVN: r235762
This commit is contained in:
Bernd Edlinger 2016-05-02 14:41:25 +00:00 committed by Bernd Edlinger
parent dd53d197a2
commit 72407e00fd
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2016-05-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
* gcc.dg/spec-options.c: Run the test on all targets.
* gcc.dg/foo.specs: Use cpp_unique_options.
2016-05-02 Marc Glisse <marc.glisse@inria.fr>
* gcc.dg/tree-ssa/unord.c: New testcase.

View File

@ -1,2 +1,2 @@
*cppruntime:
*cpp_unique_options:
+ %{tfoo: -DFOO}

View File

@ -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);