pr86763.C (dg-additional-options): Add -lrt for target *-*-linux-gnu.
authorUros Bizjak <ubizjak@gmail.com>
Mon, 6 Aug 2018 15:49:05 +0000 (17:49 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 6 Aug 2018 15:49:05 +0000 (17:49 +0200)
* g++.dg/torture/pr86763.C (dg-additional-options): Add -lrt
for target *-*-linux-gnu.

From-SVN: r263338

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

index 321f59b10ffdd0c87548fab89f4e8a4d77d25652..71e3ad7b441056119acd2061573ade17ae215fd3 100644 (file)
@@ -1,3 +1,8 @@
+2018-08-06  Uros Bizjak  <ubizjak@gmail.com>
+
+       * g++.dg/torture/pr86763.C (dg-additional-options): Add -lrt
+       for target *-*-linux-gnu.
+
 2018-08-06  Alan Hayward  <alan.hayward@arm.com>
 
        * gcc.target/aarch64/sve/tls_preserve_1.c: New test.
index 6b79d561a60b60c9dc082c238e14281516879cd8..79523b2485028204ec3cbde39cdb44ed040455b2 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run }
 // { dg-additional-options "-fschedule-insns2 -fstrict-aliasing" }
+// { dg-additional-options "-lrt" { target *-*-linux-gnu } }
 
 #include <cstdint>
 #include <cassert>