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
+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
-// { dg-do run }
+// { dg-do run { target { *-*-linux* } } }
// { dg-additional-options "-fschedule-insns2 -fstrict-aliasing" }
+// { dg-additional-options "-lrt" }
#include <cstdint>
#include <cassert>