[testsuite] gcc.dg/nextafter-2.c: Restrict to c99_runtime
authorChristophe Lyon <christophe.lyon@linaro.org>
Mon, 7 May 2018 13:49:03 +0000 (13:49 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Mon, 7 May 2018 13:49:03 +0000 (15:49 +0200)
2018-05-07  Christophe Lyon  <christophe.lyon@linaro.org>

* gcc.dg/nextafter-2.c: Add c99_runtime effective target
and options.

From-SVN: r259994

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/nextafter-2.c

index ce19dfb6cf04b78f60f86a3806e4b310063749da..652192b0eba1cc5b850822f0e6269c7d7390e598 100644 (file)
@@ -1,3 +1,8 @@
+2018-05-07  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       * gcc.dg/nextafter-2.c: Add c99_runtime effective target
+       and options.
+
 2018-05-06  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/85659
index 36b7e3cfa1ad65542a5d07a5b00d7d5a21e3276f..ef34676fd7eed5622194d5d7a8338bbd4a206d2d 100644 (file)
@@ -1,6 +1,8 @@
 /* PR libstdc++/85466 */
 /* { dg-do run } */
+/* { dg-require-effective-target c99_runtime } */
 /* { dg-options "-O2 -fno-builtin" } */
 /* { dg-add-options ieee } */
+/* { dg-add-options c99_runtime } */
 
 #include "nextafter-1.c"