From: Uros Bizjak Date: Mon, 6 Aug 2018 15:49:05 +0000 (+0200) Subject: pr86763.C (dg-additional-options): Add -lrt for target *-*-linux-gnu. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=27ee6398a63f587d23c6da8a12ce8adb0cd31cfb;p=gcc.git pr86763.C (dg-additional-options): Add -lrt for target *-*-linux-gnu. * g++.dg/torture/pr86763.C (dg-additional-options): Add -lrt for target *-*-linux-gnu. From-SVN: r263338 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 321f59b10ff..71e3ad7b441 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-08-06 Uros Bizjak + + * g++.dg/torture/pr86763.C (dg-additional-options): Add -lrt + for target *-*-linux-gnu. + 2018-08-06 Alan Hayward * gcc.target/aarch64/sve/tls_preserve_1.c: New test. diff --git a/gcc/testsuite/g++.dg/torture/pr86763.C b/gcc/testsuite/g++.dg/torture/pr86763.C index 6b79d561a60..79523b24850 100644 --- a/gcc/testsuite/g++.dg/torture/pr86763.C +++ b/gcc/testsuite/g++.dg/torture/pr86763.C @@ -1,5 +1,6 @@ // { dg-do run } // { dg-additional-options "-fschedule-insns2 -fstrict-aliasing" } +// { dg-additional-options "-lrt" { target *-*-linux-gnu } } #include #include