From: Szabolcs Nagy Date: Tue, 21 Aug 2018 09:22:14 +0000 (+0000) Subject: Restrict the pr86763 test to *-*-linux* targets X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b96783aef18e4ddd30a94b6948b515641bb62d3;p=gcc.git Restrict the pr86763 test to *-*-linux* targets clock_gettime is not available on some baremetal targets and may require -lrt on some non-linux targets. gcc/testsuite/ChangeLog: * g++.dg/torture/pr86763.C: Restrict to *-*-linux*. From-SVN: r263694 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index eb143b3fa7a..ccdaa1e32a1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-08-21 Szabolcs Nagy + + * g++.dg/torture/pr86763.C: Restrict to *-*-linux*. + 2018-08-21 Bernd Edlinger PR middle-end/86121 diff --git a/gcc/testsuite/g++.dg/torture/pr86763.C b/gcc/testsuite/g++.dg/torture/pr86763.C index 79523b24850..8455ac9ce12 100644 --- a/gcc/testsuite/g++.dg/torture/pr86763.C +++ b/gcc/testsuite/g++.dg/torture/pr86763.C @@ -1,6 +1,6 @@ -// { dg-do run } +// { dg-do run { target { *-*-linux* } } } // { dg-additional-options "-fschedule-insns2 -fstrict-aliasing" } -// { dg-additional-options "-lrt" { target *-*-linux-gnu } } +// { dg-additional-options "-lrt" } #include #include