From 27ee6398a63f587d23c6da8a12ce8adb0cd31cfb Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Mon, 6 Aug 2018 17:49:05 +0200 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/torture/pr86763.C | 1 + 2 files changed, 6 insertions(+) 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 -- 2.30.2