Remove dg-add-options c99_runtime
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Sun, 13 Oct 2019 11:42:15 +0000 (11:42 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Sun, 13 Oct 2019 11:42:15 +0000 (11:42 +0000)
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

41 files changed:
gcc/ChangeLog
gcc/doc/sourcebuild.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/builtins-18.c
gcc/testsuite/gcc.dg/builtins-20.c
gcc/testsuite/gcc.dg/builtins-53.c
gcc/testsuite/gcc.dg/builtins-55.c
gcc/testsuite/gcc.dg/builtins-67.c
gcc/testsuite/gcc.dg/c99-tgmath-1.c
gcc/testsuite/gcc.dg/c99-tgmath-2.c
gcc/testsuite/gcc.dg/c99-tgmath-3.c
gcc/testsuite/gcc.dg/c99-tgmath-4.c
gcc/testsuite/gcc.dg/ipa/inline-8.c
gcc/testsuite/gcc.dg/ipa/ipa-icf-5.c
gcc/testsuite/gcc.dg/ipa/ipa-icf-7.c
gcc/testsuite/gcc.dg/nextafter-2.c
gcc/testsuite/gcc.dg/pr42427.c
gcc/testsuite/gcc.dg/pr78965.c
gcc/testsuite/gcc.dg/single-precision-constant.c
gcc/testsuite/gcc.dg/torture/builtin-convert-1.c
gcc/testsuite/gcc.dg/torture/builtin-convert-2.c
gcc/testsuite/gcc.dg/torture/builtin-convert-3.c
gcc/testsuite/gcc.dg/torture/builtin-convert-4.c
gcc/testsuite/gcc.dg/torture/builtin-fp-int-inexact-c2x.c
gcc/testsuite/gcc.dg/torture/builtin-fp-int-inexact.c
gcc/testsuite/gcc.dg/torture/builtin-integral-1.c
gcc/testsuite/gcc.dg/torture/builtin-power-1.c
gcc/testsuite/gcc.dg/tree-ssa/copy-sign-1.c
gcc/testsuite/gcc.dg/tree-ssa/minmax-2.c
gcc/testsuite/gcc.dg/tree-ssa/mult-abs-2.c
gcc/testsuite/gcc.target/i386/387-builtin-fp-int-inexact.c
gcc/testsuite/gcc.target/i386/387-rint-inline-1.c
gcc/testsuite/gcc.target/i386/387-rint-inline-2.c
gcc/testsuite/gcc.target/i386/conversion.c
gcc/testsuite/gcc.target/i386/pr47312.c
gcc/testsuite/gcc.target/i386/sse2-builtin-fp-int-inexact.c
gcc/testsuite/gcc.target/i386/sse2-rint-inline-1.c
gcc/testsuite/gcc.target/i386/sse2-rint-inline-2.c
gcc/testsuite/gcc.target/i386/sse4_1-builtin-fp-int-inexact.c
gcc/testsuite/gcc.target/i386/sse4_1-rint-inline.c
gcc/testsuite/lib/target-supports.exp

index 4df0e0dfc3a1fd17abae6002522b5a94113261b8..44753c8b9bd7a001d82f7f2c7d061ebba158e134 100644 (file)
@@ -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
index 56967928de6eca6e626bedb1fccb801d852f852a..42a10cf2243836da9eb7a06dc8dd2be74cdbd050 100644 (file)
@@ -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.
 
index 2f46d4dd8572c3d3c39f5b96a750c73a8c059f60..3117a07942c95536b4b7fd705d220d07f778eb7f 100644 (file)
@@ -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
index 9afaca23adab7b51e4ad7e4feca9bc671c1d6b93..4501cc14bce2f984c19a3765b3d04f72a5af1b39 100644 (file)
@@ -7,7 +7,6 @@
 
 /* { dg-do link } */
 /* { dg-options "-O2 -ffast-math" } */
-/* { dg-add-options c99_runtime } */
 
 #include "builtins-config.h"
 
index 2b63428658310af55253a80dfaa88c9af7870c16..8f864f62495c158296fbdb4fd321d6a51cfa6827 100644 (file)
@@ -7,7 +7,6 @@
 
 /* { dg-do link } */
 /* { dg-options "-O2 -ffast-math" } */
-/* { dg-add-options c99_runtime } */
 
 #include "builtins-config.h"
 
index 9a50bf5ad3c293934628149ad214c6d4950f0c5b..e01908c26a7d87648acfec740f5bc27a422824bb 100644 (file)
@@ -10,7 +10,6 @@
 
 /* { dg-do compile } */
 /* { dg-options "-O2 -ffast-math" } */
-/* { dg-add-options c99_runtime } */
 
 #include "builtins-config.h"
 
index 0db7976a4801c4356a8297eb1504f25c571179b9..76786fb6b80ecc374ffd85d34f8e8f9a2a1f8adf 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do link } */
 /* { dg-options "-O2 -ffast-math" } */
-/* { dg-add-options c99_runtime } */
 
 #include "builtins-config.h"
 
index 0992fe1597f6e49b10961077fa4ca39235b6cd27..36b7886b16afd25a5e5865b538db2a35f9433175 100644 (file)
@@ -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 } */
 
index cfa02a91d33f1672625fc4c7f47c1436eb7a48a5..cfcba8369d5829e9e0c8080a5a797597842726ab 100644 (file)
@@ -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. */
index 1a1153cc6eaeab1e0d6086b58e91b0bae18bb7ee..7b0cfa4c6ddf30b01a4bfc0389f440e06cee4a3e 100644 (file)
@@ -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. */
index a595cf68559a28f0ea13893f643fe78dcdf4ff3f..8ed8b30f8ab2000560fcfb3fb2e7ea3f471fdcb2 100644 (file)
@@ -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. */
index c05a1c59ebcaacb8b59095cf66c5dc60a096f6f8..f66bcdffaea38869157ee5f6256f123164ec689b 100644 (file)
@@ -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. */
index df4a64deff9cece4589efd48c968bd29289d29b8..388283ca2132af063321324f6ff77f6d8dcf63e4 100644 (file)
@@ -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.  */
index 40d71740f653d6faa0a2c0b1a4eae199f6966807..1125bbd80c544253232e6ea40921a2a4d4765c92 100644 (file)
@@ -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>
 
index 87a6d261b3ba2178a22c2bf8e7b750f3b9c71fae..d498b10255b57f41fd7095e8801ce596a1cc5100 100644 (file)
@@ -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>
 
index 0bde721b338a637101c87c0af012759100ac7a82..e51ae94be0c27d9d025efba81ebb057d0ad54baa 100644 (file)
@@ -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>
 
index cb290fea3f19da28725cf90c599ed3164fb1cf65..b5a51cc322107258d94801353d579710f5e972a9 100644 (file)
@@ -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 } */
 
index 9ae1ad4a56c60db1636c436440ac2a65ee186f9b..43da70b29e15728d220e08ca55772e568c76c26d 100644 (file)
@@ -1,7 +1,6 @@
 /* PR tree-optimization/78965 */
 /* { dg-do run { target c99_runtime } } */
 /* { dg-options "-O2" } */
-/* { dg-add-options c99_runtime } */
 
 int
 main ()
index ffd893d93ad03efcaef8289e08398cb7649e3904..f1a9dc846a91e275f0b886a460656f8e09bd9682 100644 (file)
@@ -4,7 +4,6 @@
 
 /* { dg-do run } */
 /* { dg-options "-fsingle-precision-constant" } */
-/* { dg-add-options c99_runtime } */
 
 #include <math.h>
 #include <float.h>
index eecd2b3d275e0a035edac11d60c0db9b4e007cff..31aadffe9f2e97b69725cb41a34f3316870d130e 100644 (file)
@@ -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"
index 167ecddcb9a8cc0194711fa42eba817651e0d65f..385098619af3516e48dbf76e1867852f8d531a6c 100644 (file)
@@ -7,7 +7,6 @@
 
 /* { dg-do link } */
 /* { dg-options "-ffast-math" } */
-/* { dg-add-options c99_runtime } */
 
 #include "../builtins-config.h"
 
index 2034b4190cf25e83d061abd31ee0cbbc278572d4..520871f421b01888c40e742a40fcf587d620a746 100644 (file)
@@ -7,7 +7,6 @@
 
 /* { dg-do link } */
 /* { dg-options "-ffast-math" } */
-/* { dg-add-options c99_runtime } */
 
 #include "../builtins-config.h"
 
index acf89cef843a00341e7e3f36905223d3bb7c2e6e..f201f15661326f09503be75ad3c2bede5a1e2c4b 100644 (file)
@@ -7,7 +7,6 @@
 
 /* { dg-do compile } */
 /* { dg-options "-ftrapping-math -fdump-tree-original" } */
-/* { dg-add-options c99_runtime } */
 
 #include "../builtins-config.h"
 
index 039cb5392fe7816d93a87efe6f3f88fd15237c96..739a78cb6fbee1c9e5d7ff3b83f14345056d59cd 100644 (file)
@@ -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"
index 80458fa62749947e67014a12ad3c8e1229b6be3a..b192d38a730bbee97fb9bb370ee494e55d43e880 100644 (file)
@@ -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>
index 74d4ab047c64d954aef0278ff0cf11878323c1de..f6ac248620df9fc61c139f0db7ec134bb4085e29 100644 (file)
@@ -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" } { "" } } */
 
index 9e7c25adb3d168905aef3138c333a2bc5ad2c587..e422b0c187ccf8ffaf09ebcd5fa3446cd358a7c1 100644 (file)
@@ -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"
index de3e7b242ceb7b76262456e899615da4b1bd5291..c36112a6567833e1fae6d002f8b86a188cb3cacc 100644 (file)
@@ -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);
index 87ff94cef1f3b178b315358f246c9a3f32383945..8990c188e0511b0ff0a93db7a89980a414b3abce 100644 (file)
@@ -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;}
index d74ba2fe630924dc76006d0c32040a37ec321caf..a41f1baf25669a4fd301a586a49ba5e3c5b966ab 100644 (file)
@@ -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)
 {
index 752b487825e718501e5fa12f0aca920fe44da4e6..89983c3e4a47e9ff9eba933cecdc9892ac56a050 100644 (file)
@@ -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"
index 522edff611aa0bc0ab0d3c0d8abf757ae3b1bd8f..06906d6932d92e42cb239d01fc952b1071c34051 100644 (file)
@@ -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                                           \
index be765a7a39fe2fd9712ddb7761bccdb924699dcb..4cb82193916b65247ef3f13a466f599ceba6406e 100644 (file)
@@ -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                                           \
index c1718f02736338d77f434ca42fd476acb28c68d9..bc7121119babbd7a3186735e799fb30a21bad540 100644 (file)
@@ -2,7 +2,6 @@
 
 /* { dg-do link } */
 /* { dg-options "-ffast-math" }  */
-/* { dg-add-options c99_runtime } */
 
 #include "../../gcc.dg/builtins-config.h"
 
index 03769a1cf818d38d37114259765a30d0cd9379a1..ec4b51cb921f4a14df306fddb8604d37b10bdd0b 100644 (file)
@@ -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);
index 10015972049845b421bd40096ee0e5afca2c7561..2226e6a231b8af0a8ef34f098af40c53778e9603 100644 (file)
@@ -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 } */
 
index 06baed2046a4af72ba6e0cd5da5261ea851e9ef9..23c979771cced074e683d476245f112f9a3d67f8 100644 (file)
@@ -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)                         \
index 3ebf7a7af69cbf86b37e32a2b996a784f6a49c43..28968259dc49b9aea6d6bac09c6bac4e32b03914 100644 (file)
@@ -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)                         \
index 4c9244d05442ca8505fc4f6c699a910ec4cfc355..c1c8a19d4db81e17a94475b5c767e4a809c36bcf 100644 (file)
@@ -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 } */
 
index 6d60da33cb7f3e0bda9beb1b1292de4f10d4ac88..995c14cefa1b31703b6568b22a662f55b07555f7 100644 (file)
@@ -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)                         \
index f8a235d5c872da6a937912bb09b94ce9df6ee729..6f224fa81416e9f3f402abe3525e86df02313e6a 100644 (file)
@@ -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
     }]
 }