]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Restrict the pr86763 test to *-*-linux* targets
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 21 Aug 2018 13:20:21 +0000 (13:20 +0000)
committerSzabolcs Nagy <nsz@gcc.gnu.org>
Tue, 21 Aug 2018 13:20:21 +0000 (13:20 +0000)
clock_gettime is not available on some baremetal targets
and may require -lrt on some non-linux targets.

gcc/testsuite/ChangeLog:

Backport from mainline
2018-08-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>

* g++.dg/torture/pr86763.C: Restrict to *-*-linux*.

From-SVN: r263701

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr86763.C

index cd81a50607150a88b95066e0c0b4583cd5232ebc..27db12935f2fe427b971c0786927fba987f37bb7 100644 (file)
@@ -1,3 +1,10 @@
+2018-08-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       Backport from mainline
+       2018-08-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       * g++.dg/torture/pr86763.C: Restrict to *-*-linux*.
+
 2018-08-17  Richard Biener  <rguenther@suse.de>
 
        Backport from mainline
index 6b79d561a60b60c9dc082c238e14281516879cd8..8455ac9ce1294e39c1b826c12230c343cdd360e2 100644 (file)
@@ -1,5 +1,6 @@
-// { dg-do run }
+// { dg-do run { target { *-*-linux* } } }
 // { dg-additional-options "-fschedule-insns2 -fstrict-aliasing" }
+// { dg-additional-options "-lrt" }
 
 #include <cstdint>
 #include <cassert>