From: nsz Date: Tue, 21 Aug 2018 09:22:14 +0000 (+0000) Subject: Restrict the pr86763 test to *-*-linux* targets X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a7f249a1416966dae7c6cd0d196f9ba776b0ac8;p=thirdparty%2Fgcc.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*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263694 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index eb143b3fa7aa..ccdaa1e32a14 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 79523b248502..8455ac9ce129 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