diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2019-10-13 11:42:15 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2019-10-13 11:42:15 +0000 |
commit | 855c21cb9af3e00ac10533f0525b038cf77eaa49 (patch) | |
tree | e96cfb80b41b6e8beb4bbcd4db738e719b2ae0e7 /gcc | |
parent | 7cc4770980e20f6f480152277d2a64c226fdee2a (diff) | |
download | gcc-855c21cb9af3e00ac10533f0525b038cf77eaa49.zip gcc-855c21cb9af3e00ac10533f0525b038cf77eaa49.tar.gz gcc-855c21cb9af3e00ac10533f0525b038cf77eaa49.tar.bz2 |
Remove dg-add-options c99_runtime
gcc:
* doc/sourcebuild.texi (Test Directives, Add Options): Remove
c99_runtime.
gcc/testsuite:
* lib/target-supports.exp (add_options_for_c99_runtime): Remove.
(check_effective_target_c99_runtime): Remove call to
add_options_for_c99_runtime.
* gcc.dg/builtins-18.c: Remove dg-add-options c99_runtime.
* gcc.dg/builtins-20.c: Likewise.
* gcc.dg/builtins-53.c: Likewise.
* gcc.dg/builtins-55.c: Likewise.
* gcc.dg/builtins-67.c: Likewise.
* gcc.dg/c99-tgmath-1.c: Likewise.
* gcc.dg/c99-tgmath-2.c: Likewise.
* gcc.dg/c99-tgmath-3.c: Likewise.
* gcc.dg/c99-tgmath-4.c: Likewise.
* gcc.dg/ipa/inline-8.c: Likewise.
* gcc.dg/ipa/ipa-icf-5.c: Likewise.
* gcc.dg/ipa/ipa-icf-7.c: Likewise.
* gcc.dg/nextafter-2.c: Likewise.
* gcc.dg/pr42427.c: Likewise.
* gcc.dg/pr78965.c: Likewise.
* gcc.dg/single-precision-constant.c: Likewise.
* gcc.dg/torture/builtin-convert-1.c: Likewise.
* gcc.dg/torture/builtin-convert-2.c: Likewise.
* gcc.dg/torture/builtin-convert-3.c: Likewise.
* gcc.dg/torture/builtin-convert-4.c: Likewise.
* gcc.dg/torture/builtin-fp-int-inexact.c: Likewise.
* gcc.dg/torture/builtin-fp-int-inexact-c2x.c: Likewise.
* gcc.dg/torture/builtin-integral-1.c: Likewise.
* gcc.dg/torture/builtin-power-1.c: Likewise.
* gcc.dg/tree-ssa/copy-sign-1.c: Likewise.
* gcc.dg/tree-ssa/minmax-2.c: Likewise.
* gcc.dg/tree-ssa/mult-abs-2.c: Likewise.
* gcc.target/i386/387-builtin-fp-int-inexact.c: Likewise.
* gcc.target/i386/387-rint-inline-1.c: Likewise.
* gcc.target/i386/387-rint-inline-2.c: Likewise.
* gcc.target/i386/conversion.c: Likewise.
* gcc.target/i386/pr47312.c: Likewise.
* gcc.target/i386/sse2-builtin-fp-int-inexact.c: Likewise.
* gcc.target/i386/sse2-rint-inline-1.c: Likewise.
* gcc.target/i386/sse2-rint-inline-2.c: Likewise.
* gcc.target/i386/sse4_1-builtin-fp-int-inexact.c: Likewise.
* gcc.target/i386/sse4_1-rint-inline.c: Likewise.
From-SVN: r276937
Diffstat (limited to 'gcc')
41 files changed, 50 insertions, 54 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4df0e0d..44753c8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * doc/sourcebuild.texi (Test Directives, Add Options): Remove + c99_runtime. + 2019-10-12 Jan Hubicka <hubicka@ucw.cz> * lto-streamer-out.c (collect_block_tree_leafs): Renumber statements diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi index 5696792..42a10cf 100644 --- a/gcc/doc/sourcebuild.texi +++ b/gcc/doc/sourcebuild.texi @@ -2528,9 +2528,6 @@ instructions, if this is supported by the target; see the Add the target-specific flags needed to enable functions to bind locally when using pic/PIC passes in the testsuite. -@item c99_runtime -Add the target-specific flags needed to access the C99 runtime. - @item float@var{n} Add the target-specific flags needed to use the @code{_Float@var{n}} type. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2f46d4d..3117a07 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,47 @@ +2019-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * lib/target-supports.exp (add_options_for_c99_runtime): Remove. + (check_effective_target_c99_runtime): Remove call to + add_options_for_c99_runtime. + + * gcc.dg/builtins-18.c: Remove dg-add-options c99_runtime. + * gcc.dg/builtins-20.c: Likewise. + * gcc.dg/builtins-53.c: Likewise. + * gcc.dg/builtins-55.c: Likewise. + * gcc.dg/builtins-67.c: Likewise. + * gcc.dg/c99-tgmath-1.c: Likewise. + * gcc.dg/c99-tgmath-2.c: Likewise. + * gcc.dg/c99-tgmath-3.c: Likewise. + * gcc.dg/c99-tgmath-4.c: Likewise. + * gcc.dg/ipa/inline-8.c: Likewise. + * gcc.dg/ipa/ipa-icf-5.c: Likewise. + * gcc.dg/ipa/ipa-icf-7.c: Likewise. + * gcc.dg/nextafter-2.c: Likewise. + * gcc.dg/pr42427.c: Likewise. + * gcc.dg/pr78965.c: Likewise. + * gcc.dg/single-precision-constant.c: Likewise. + * gcc.dg/torture/builtin-convert-1.c: Likewise. + * gcc.dg/torture/builtin-convert-2.c: Likewise. + * gcc.dg/torture/builtin-convert-3.c: Likewise. + * gcc.dg/torture/builtin-convert-4.c: Likewise. + * gcc.dg/torture/builtin-fp-int-inexact.c: Likewise. + * gcc.dg/torture/builtin-fp-int-inexact-c2x.c: Likewise. + * gcc.dg/torture/builtin-integral-1.c: Likewise. + * gcc.dg/torture/builtin-power-1.c: Likewise. + * gcc.dg/tree-ssa/copy-sign-1.c: Likewise. + * gcc.dg/tree-ssa/minmax-2.c: Likewise. + * gcc.dg/tree-ssa/mult-abs-2.c: Likewise. + * gcc.target/i386/387-builtin-fp-int-inexact.c: Likewise. + * gcc.target/i386/387-rint-inline-1.c: Likewise. + * gcc.target/i386/387-rint-inline-2.c: Likewise. + * gcc.target/i386/conversion.c: Likewise. + * gcc.target/i386/pr47312.c: Likewise. + * gcc.target/i386/sse2-builtin-fp-int-inexact.c: Likewise. + * gcc.target/i386/sse2-rint-inline-1.c: Likewise. + * gcc.target/i386/sse2-rint-inline-2.c: Likewise. + * gcc.target/i386/sse4_1-builtin-fp-int-inexact.c: Likewise. + * gcc.target/i386/sse4_1-rint-inline.c: Likewise. + 2019-10-12 Jakub Jelinek <jakub@redhat.com> PR middle-end/92063 diff --git a/gcc/testsuite/gcc.dg/builtins-18.c b/gcc/testsuite/gcc.dg/builtins-18.c index 9afaca2..4501cc1 100644 --- a/gcc/testsuite/gcc.dg/builtins-18.c +++ b/gcc/testsuite/gcc.dg/builtins-18.c @@ -7,7 +7,6 @@ /* { dg-do link } */ /* { dg-options "-O2 -ffast-math" } */ -/* { dg-add-options c99_runtime } */ #include "builtins-config.h" diff --git a/gcc/testsuite/gcc.dg/builtins-20.c b/gcc/testsuite/gcc.dg/builtins-20.c index 2b63428..8f864f6 100644 --- a/gcc/testsuite/gcc.dg/builtins-20.c +++ b/gcc/testsuite/gcc.dg/builtins-20.c @@ -7,7 +7,6 @@ /* { dg-do link } */ /* { dg-options "-O2 -ffast-math" } */ -/* { dg-add-options c99_runtime } */ #include "builtins-config.h" diff --git a/gcc/testsuite/gcc.dg/builtins-53.c b/gcc/testsuite/gcc.dg/builtins-53.c index 9a50bf5..e01908c 100644 --- a/gcc/testsuite/gcc.dg/builtins-53.c +++ b/gcc/testsuite/gcc.dg/builtins-53.c @@ -10,7 +10,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -ffast-math" } */ -/* { dg-add-options c99_runtime } */ #include "builtins-config.h" diff --git a/gcc/testsuite/gcc.dg/builtins-55.c b/gcc/testsuite/gcc.dg/builtins-55.c index 0db7976..76786fb 100644 --- a/gcc/testsuite/gcc.dg/builtins-55.c +++ b/gcc/testsuite/gcc.dg/builtins-55.c @@ -1,6 +1,5 @@ /* { dg-do link } */ /* { dg-options "-O2 -ffast-math" } */ -/* { dg-add-options c99_runtime } */ #include "builtins-config.h" diff --git a/gcc/testsuite/gcc.dg/builtins-67.c b/gcc/testsuite/gcc.dg/builtins-67.c index 0992fe1..36b7886 100644 --- a/gcc/testsuite/gcc.dg/builtins-67.c +++ b/gcc/testsuite/gcc.dg/builtins-67.c @@ -2,7 +2,6 @@ /* { dg-do link } */ /* { dg-options "-ffast-math -lm" } */ -/* { dg-add-options c99_runtime } */ /* Bionic doesn't have rintl */ /* { dg-require-effective-target non_bionic } */ diff --git a/gcc/testsuite/gcc.dg/c99-tgmath-1.c b/gcc/testsuite/gcc.dg/c99-tgmath-1.c index cfa02a9..cfcba83 100644 --- a/gcc/testsuite/gcc.dg/c99-tgmath-1.c +++ b/gcc/testsuite/gcc.dg/c99-tgmath-1.c @@ -2,7 +2,6 @@ /* Origin: Matt Austern <austern@apple.com> /* { dg-do preprocess { target c99_runtime } } */ /* { dg-options "-std=iso9899:1999" } */ -/* { dg-add-options c99_runtime } */ /* { dg-require-effective-target tgmath_h } */ /* Test that tgmath defines the macros it's supposed to. */ diff --git a/gcc/testsuite/gcc.dg/c99-tgmath-2.c b/gcc/testsuite/gcc.dg/c99-tgmath-2.c index 1a1153c..7b0cfa4 100644 --- a/gcc/testsuite/gcc.dg/c99-tgmath-2.c +++ b/gcc/testsuite/gcc.dg/c99-tgmath-2.c @@ -2,7 +2,6 @@ /* Origin: Matt Austern <austern@apple.com> /* { dg-do compile { target c99_runtime } } */ /* { dg-options "-std=iso9899:1999" } */ -/* { dg-add-options c99_runtime } */ /* { dg-require-effective-target tgmath_h } */ /* Test that invoking type-generic sin on a float invokes sinf. */ diff --git a/gcc/testsuite/gcc.dg/c99-tgmath-3.c b/gcc/testsuite/gcc.dg/c99-tgmath-3.c index a595cf6..8ed8b30 100644 --- a/gcc/testsuite/gcc.dg/c99-tgmath-3.c +++ b/gcc/testsuite/gcc.dg/c99-tgmath-3.c @@ -2,7 +2,6 @@ /* Origin: Matt Austern <austern@apple.com> /* { dg-do compile { target c99_runtime } } */ /* { dg-options "-std=iso9899:1999" } */ -/* { dg-add-options c99_runtime } */ /* { dg-require-effective-target tgmath_h } */ /* Test that invoking type-generic exp on a complex invokes cexp. */ diff --git a/gcc/testsuite/gcc.dg/c99-tgmath-4.c b/gcc/testsuite/gcc.dg/c99-tgmath-4.c index c05a1c5..f66bcdf 100644 --- a/gcc/testsuite/gcc.dg/c99-tgmath-4.c +++ b/gcc/testsuite/gcc.dg/c99-tgmath-4.c @@ -2,7 +2,6 @@ /* Origin: Matt Austern <austern@apple.com> /* { dg-do compile { target c99_runtime } } */ /* { dg-options "-std=iso9899:1999" } */ -/* { dg-add-options c99_runtime } */ /* { dg-require-effective-target tgmath_h } */ /* Test that invoking type-generic pow on complex float invokes cpowf. */ diff --git a/gcc/testsuite/gcc.dg/ipa/inline-8.c b/gcc/testsuite/gcc.dg/ipa/inline-8.c index df4a64d..388283c 100644 --- a/gcc/testsuite/gcc.dg/ipa/inline-8.c +++ b/gcc/testsuite/gcc.dg/ipa/inline-8.c @@ -3,7 +3,6 @@ /* { dg-do run } */ /* { dg-require-effective-target c99_runtime } */ /* { dg-options "-O2" } */ -/* { dg-add-options c99_runtime } */ #include <math.h> extern int isnanf (float); /* Can't be inlined because isnanf will be optimized out. */ diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-icf-5.c b/gcc/testsuite/gcc.dg/ipa/ipa-icf-5.c index 40d7174..1125bbd 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipa-icf-5.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-icf-5.c @@ -1,6 +1,5 @@ /* { dg-do compile { target c99_runtime } } */ /* { dg-options "-O2 -fdump-ipa-icf-optimized" } */ -/* { dg-add-options c99_runtime } */ #include <complex.h> diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-icf-7.c b/gcc/testsuite/gcc.dg/ipa/ipa-icf-7.c index 87a6d26..d498b10 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipa-icf-7.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-icf-7.c @@ -1,6 +1,5 @@ /* { dg-do compile { target c99_runtime } } */ /* { dg-options "-O2 -fdump-ipa-icf-optimized" } */ -/* { dg-add-options c99_runtime } */ #include <complex.h> diff --git a/gcc/testsuite/gcc.dg/nextafter-2.c b/gcc/testsuite/gcc.dg/nextafter-2.c index 0bde721..e51ae94 100644 --- a/gcc/testsuite/gcc.dg/nextafter-2.c +++ b/gcc/testsuite/gcc.dg/nextafter-2.c @@ -3,7 +3,6 @@ /* { dg-require-effective-target c99_runtime } */ /* { dg-options "-O2 -fno-builtin" } */ /* { dg-add-options ieee } */ -/* { dg-add-options c99_runtime } */ #include <stdlib.h> diff --git a/gcc/testsuite/gcc.dg/pr42427.c b/gcc/testsuite/gcc.dg/pr42427.c index cb290fe..b5a51cc 100644 --- a/gcc/testsuite/gcc.dg/pr42427.c +++ b/gcc/testsuite/gcc.dg/pr42427.c @@ -1,6 +1,5 @@ /* { dg-do assemble { target c99_runtime } } */ /* { dg-options "-O2 -fexceptions -fnon-call-exceptions -fpeel-loops" } */ -/* { dg-add-options c99_runtime } */ /* { dg-require-effective-target ilp32 } */ /* { dg-require-effective-target exceptions } */ diff --git a/gcc/testsuite/gcc.dg/pr78965.c b/gcc/testsuite/gcc.dg/pr78965.c index 9ae1ad4..43da70b 100644 --- a/gcc/testsuite/gcc.dg/pr78965.c +++ b/gcc/testsuite/gcc.dg/pr78965.c @@ -1,7 +1,6 @@ /* PR tree-optimization/78965 */ /* { dg-do run { target c99_runtime } } */ /* { dg-options "-O2" } */ -/* { dg-add-options c99_runtime } */ int main () diff --git a/gcc/testsuite/gcc.dg/single-precision-constant.c b/gcc/testsuite/gcc.dg/single-precision-constant.c index ffd893d..f1a9dc8 100644 --- a/gcc/testsuite/gcc.dg/single-precision-constant.c +++ b/gcc/testsuite/gcc.dg/single-precision-constant.c @@ -4,7 +4,6 @@ /* { dg-do run } */ /* { dg-options "-fsingle-precision-constant" } */ -/* { dg-add-options c99_runtime } */ #include <math.h> #include <float.h> diff --git a/gcc/testsuite/gcc.dg/torture/builtin-convert-1.c b/gcc/testsuite/gcc.dg/torture/builtin-convert-1.c index eecd2b3..31aadff 100644 --- a/gcc/testsuite/gcc.dg/torture/builtin-convert-1.c +++ b/gcc/testsuite/gcc.dg/torture/builtin-convert-1.c @@ -7,7 +7,6 @@ /* { dg-do link } */ /* { dg-options "-ffast-math" } */ -/* { dg-add-options c99_runtime } */ /* { dg-require-effective-target c99_runtime } */ #include "../builtins-config.h" diff --git a/gcc/testsuite/gcc.dg/torture/builtin-convert-2.c b/gcc/testsuite/gcc.dg/torture/builtin-convert-2.c index 167ecdd..3850986 100644 --- a/gcc/testsuite/gcc.dg/torture/builtin-convert-2.c +++ b/gcc/testsuite/gcc.dg/torture/builtin-convert-2.c @@ -7,7 +7,6 @@ /* { dg-do link } */ /* { dg-options "-ffast-math" } */ -/* { dg-add-options c99_runtime } */ #include "../builtins-config.h" diff --git a/gcc/testsuite/gcc.dg/torture/builtin-convert-3.c b/gcc/testsuite/gcc.dg/torture/builtin-convert-3.c index 2034b41..520871f 100644 --- a/gcc/testsuite/gcc.dg/torture/builtin-convert-3.c +++ b/gcc/testsuite/gcc.dg/torture/builtin-convert-3.c @@ -7,7 +7,6 @@ /* { dg-do link } */ /* { dg-options "-ffast-math" } */ -/* { dg-add-options c99_runtime } */ #include "../builtins-config.h" diff --git a/gcc/testsuite/gcc.dg/torture/builtin-convert-4.c b/gcc/testsuite/gcc.dg/torture/builtin-convert-4.c index acf89ce..f201f15 100644 --- a/gcc/testsuite/gcc.dg/torture/builtin-convert-4.c +++ b/gcc/testsuite/gcc.dg/torture/builtin-convert-4.c @@ -7,7 +7,6 @@ /* { dg-do compile } */ /* { dg-options "-ftrapping-math -fdump-tree-original" } */ -/* { dg-add-options c99_runtime } */ #include "../builtins-config.h" diff --git a/gcc/testsuite/gcc.dg/torture/builtin-fp-int-inexact-c2x.c b/gcc/testsuite/gcc.dg/torture/builtin-fp-int-inexact-c2x.c index 039cb53..739a78c 100644 --- a/gcc/testsuite/gcc.dg/torture/builtin-fp-int-inexact-c2x.c +++ b/gcc/testsuite/gcc.dg/torture/builtin-fp-int-inexact-c2x.c @@ -1,7 +1,6 @@ /* Test C2X enables -fno-fp-int-builtin-inexact. */ /* { dg-do run } */ /* { dg-options "-std=c2x" } */ -/* { dg-add-options c99_runtime } */ /* { dg-require-effective-target fenv_exceptions } */ #include "builtin-fp-int-inexact.c" diff --git a/gcc/testsuite/gcc.dg/torture/builtin-fp-int-inexact.c b/gcc/testsuite/gcc.dg/torture/builtin-fp-int-inexact.c index 80458fa6..b192d38 100644 --- a/gcc/testsuite/gcc.dg/torture/builtin-fp-int-inexact.c +++ b/gcc/testsuite/gcc.dg/torture/builtin-fp-int-inexact.c @@ -1,7 +1,6 @@ /* Test -fno-fp-int-builtin-inexact. */ /* { dg-do run } */ /* { dg-options "-fno-fp-int-builtin-inexact" } */ -/* { dg-add-options c99_runtime } */ /* { dg-require-effective-target fenv_exceptions } */ #include <fenv.h> diff --git a/gcc/testsuite/gcc.dg/torture/builtin-integral-1.c b/gcc/testsuite/gcc.dg/torture/builtin-integral-1.c index 74d4ab0..f6ac248 100644 --- a/gcc/testsuite/gcc.dg/torture/builtin-integral-1.c +++ b/gcc/testsuite/gcc.dg/torture/builtin-integral-1.c @@ -10,7 +10,6 @@ that various math functions are marked const/pure and can be folded. */ /* { dg-options "-ffinite-math-only -fno-math-errno" } */ -/* { dg-add-options c99_runtime } */ /* { dg-require-effective-target c99_runtime } */ /* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */ diff --git a/gcc/testsuite/gcc.dg/torture/builtin-power-1.c b/gcc/testsuite/gcc.dg/torture/builtin-power-1.c index 9e7c25a..e422b0c 100644 --- a/gcc/testsuite/gcc.dg/torture/builtin-power-1.c +++ b/gcc/testsuite/gcc.dg/torture/builtin-power-1.c @@ -7,7 +7,6 @@ /* { dg-do link } */ /* { dg-options "-ffast-math" } */ -/* { dg-add-options c99_runtime } */ /* { dg-skip-if "PR44214" { *-*-* } { "-O0" } { "" } } */ #include "../builtins-config.h" diff --git a/gcc/testsuite/gcc.dg/tree-ssa/copy-sign-1.c b/gcc/testsuite/gcc.dg/tree-ssa/copy-sign-1.c index de3e7b2..c36112a 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/copy-sign-1.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/copy-sign-1.c @@ -1,7 +1,6 @@ /* { dg-do compile } */ /* { dg-require-effective-target c99_runtime } */ /* { dg-options "-O2 -ffast-math -fdump-tree-gimple" } */ -/* { dg-add-options c99_runtime } */ float f(float x) { return (x > 0.f ? -1.f : 1.f); diff --git a/gcc/testsuite/gcc.dg/tree-ssa/minmax-2.c b/gcc/testsuite/gcc.dg/tree-ssa/minmax-2.c index 87ff94c..8990c18 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/minmax-2.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/minmax-2.c @@ -1,6 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-O -fstrict-overflow -fdump-tree-optimized" } */ -/* { dg-add-options c99_runtime } */ /* { dg-require-effective-target c99_runtime } */ static int max(int a,int b){return (a<b)?b:a;} diff --git a/gcc/testsuite/gcc.dg/tree-ssa/mult-abs-2.c b/gcc/testsuite/gcc.dg/tree-ssa/mult-abs-2.c index d74ba2f..a41f1ba 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/mult-abs-2.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/mult-abs-2.c @@ -1,7 +1,6 @@ /* { dg-do compile } */ /* { dg-require-effective-target c99_runtime } */ /* { dg-options "-O2 -ffast-math -fdump-tree-gimple" } */ -/* { dg-add-options c99_runtime } */ float f(float x) { diff --git a/gcc/testsuite/gcc.target/i386/387-builtin-fp-int-inexact.c b/gcc/testsuite/gcc.target/i386/387-builtin-fp-int-inexact.c index 752b487..89983c3 100644 --- a/gcc/testsuite/gcc.target/i386/387-builtin-fp-int-inexact.c +++ b/gcc/testsuite/gcc.target/i386/387-builtin-fp-int-inexact.c @@ -1,7 +1,6 @@ /* Test -fno-fp-int-builtin-inexact for 387. */ /* { dg-do run } */ /* { dg-options "-O2 -mfancy-math-387 -mfpmath=387 -fno-fp-int-builtin-inexact" } */ -/* { dg-add-options c99_runtime } */ /* { dg-require-effective-target fenv_exceptions } */ #include "../../gcc.dg/torture/builtin-fp-int-inexact.c" diff --git a/gcc/testsuite/gcc.target/i386/387-rint-inline-1.c b/gcc/testsuite/gcc.target/i386/387-rint-inline-1.c index 522edff..06906d6 100644 --- a/gcc/testsuite/gcc.target/i386/387-rint-inline-1.c +++ b/gcc/testsuite/gcc.target/i386/387-rint-inline-1.c @@ -2,7 +2,6 @@ should be expanded when spurious "inexact" allowed. */ /* { dg-do compile } */ /* { dg-options "-O2 -mfancy-math-387 -mfpmath=387 -ffp-int-builtin-inexact" } */ -/* { dg-add-options c99_runtime } */ #define TEST(FN, TYPE) \ do \ diff --git a/gcc/testsuite/gcc.target/i386/387-rint-inline-2.c b/gcc/testsuite/gcc.target/i386/387-rint-inline-2.c index be765a7..4cb8219 100644 --- a/gcc/testsuite/gcc.target/i386/387-rint-inline-2.c +++ b/gcc/testsuite/gcc.target/i386/387-rint-inline-2.c @@ -2,7 +2,6 @@ should be expanded even when spurious "inexact" not allowed. */ /* { dg-do compile } */ /* { dg-options "-O2 -mfancy-math-387 -mfpmath=387 -fno-fp-int-builtin-inexact" } */ -/* { dg-add-options c99_runtime } */ #define TEST(FN, TYPE) \ do \ diff --git a/gcc/testsuite/gcc.target/i386/conversion.c b/gcc/testsuite/gcc.target/i386/conversion.c index c1718f0..bc71211 100644 --- a/gcc/testsuite/gcc.target/i386/conversion.c +++ b/gcc/testsuite/gcc.target/i386/conversion.c @@ -2,7 +2,6 @@ /* { dg-do link } */ /* { dg-options "-ffast-math" } */ -/* { dg-add-options c99_runtime } */ #include "../../gcc.dg/builtins-config.h" diff --git a/gcc/testsuite/gcc.target/i386/pr47312.c b/gcc/testsuite/gcc.target/i386/pr47312.c index 03769a1..ec4b51c 100644 --- a/gcc/testsuite/gcc.target/i386/pr47312.c +++ b/gcc/testsuite/gcc.target/i386/pr47312.c @@ -4,7 +4,6 @@ /* { dg-require-effective-target xop } */ /* { dg-require-effective-target c99_runtime } */ /* { dg-options "-O -flto -mno-sse3 -mxop" } */ -/* { dg-add-options c99_runtime } */ extern double fma (double, double, double); extern float fmaf (float, float, float); diff --git a/gcc/testsuite/gcc.target/i386/sse2-builtin-fp-int-inexact.c b/gcc/testsuite/gcc.target/i386/sse2-builtin-fp-int-inexact.c index 1001597..2226e6a 100644 --- a/gcc/testsuite/gcc.target/i386/sse2-builtin-fp-int-inexact.c +++ b/gcc/testsuite/gcc.target/i386/sse2-builtin-fp-int-inexact.c @@ -1,7 +1,6 @@ /* Test -fno-fp-int-builtin-inexact for SSE 2. */ /* { dg-do run } */ /* { dg-options "-O2 -msse2 -mfpmath=sse -fno-fp-int-builtin-inexact" } */ -/* { dg-add-options c99_runtime } */ /* { dg-require-effective-target fenv_exceptions } */ /* { dg-require-effective-target sse2 } */ diff --git a/gcc/testsuite/gcc.target/i386/sse2-rint-inline-1.c b/gcc/testsuite/gcc.target/i386/sse2-rint-inline-1.c index 06baed2..23c9797 100644 --- a/gcc/testsuite/gcc.target/i386/sse2-rint-inline-1.c +++ b/gcc/testsuite/gcc.target/i386/sse2-rint-inline-1.c @@ -2,7 +2,6 @@ should be expanded when spurious "inexact" allowed. */ /* { dg-do compile } */ /* { dg-options "-O2 -msse2 -mfpmath=sse -ffp-int-builtin-inexact" } */ -/* { dg-add-options c99_runtime } */ /* { dg-require-effective-target sse2 } */ #define TEST(FN, TYPE) \ diff --git a/gcc/testsuite/gcc.target/i386/sse2-rint-inline-2.c b/gcc/testsuite/gcc.target/i386/sse2-rint-inline-2.c index 3ebf7a7..2896825 100644 --- a/gcc/testsuite/gcc.target/i386/sse2-rint-inline-2.c +++ b/gcc/testsuite/gcc.target/i386/sse2-rint-inline-2.c @@ -2,7 +2,6 @@ should be expanded even when spurious "inexact" not allowed. */ /* { dg-do compile } */ /* { dg-options "-O2 -msse2 -mfpmath=sse -fno-fp-int-builtin-inexact" } */ -/* { dg-add-options c99_runtime } */ /* { dg-require-effective-target sse2 } */ #define TEST(FN, TYPE) \ diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-builtin-fp-int-inexact.c b/gcc/testsuite/gcc.target/i386/sse4_1-builtin-fp-int-inexact.c index 4c9244d..c1c8a19 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-builtin-fp-int-inexact.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-builtin-fp-int-inexact.c @@ -1,7 +1,6 @@ /* Test -fno-fp-int-builtin-inexact for SSE 4.1. */ /* { dg-do run } */ /* { dg-options "-O2 -msse4.1 -mfpmath=sse -fno-fp-int-builtin-inexact" } */ -/* { dg-add-options c99_runtime } */ /* { dg-require-effective-target fenv_exceptions } */ /* { dg-require-effective-target sse4 } */ diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-rint-inline.c b/gcc/testsuite/gcc.target/i386/sse4_1-rint-inline.c index 6d60da3..995c14c 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-rint-inline.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-rint-inline.c @@ -2,7 +2,6 @@ when spurious "inexact" not allowed. */ /* { dg-do compile } */ /* { dg-options "-O2 -msse4.1 -mfpmath=sse -fno-fp-int-builtin-inexact" } */ -/* { dg-add-options c99_runtime } */ /* { dg-require-effective-target sse4 } */ #define TEST(FN, TYPE) \ diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index f8a235d..6f224fa 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -7478,18 +7478,6 @@ proc check_effective_target_fd_truncate { } { return [check_runtime chsize $prog] } -# Add to FLAGS all the target-specific flags needed to access the c99 runtime. - -proc add_options_for_c99_runtime { flags } { - if { [istarget *-*-solaris2*] } { - return "$flags -std=c99" - } - if { [istarget powerpc-*-darwin*] } { - return "$flags -mmacosx-version-min=10.3" - } - return $flags -} - # Add to FLAGS all the target-specific flags needed to enable # full IEEE compliance mode. @@ -7571,8 +7559,7 @@ proc check_effective_target_c99_runtime { } { #error !HAVE_C99_RUNTIME #endif } - check_no_compiler_messages_nocache c99_runtime assembly \ - $contents [add_options_for_c99_runtime ""] + check_no_compiler_messages_nocache c99_runtime assembly $contents }] } |