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
This commit is contained in:
parent
7d4ae1fbbf
commit
2b96783aef
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2018-08-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
||||
|
||||
* g++.dg/torture/pr86763.C: Restrict to *-*-linux*.
|
||||
|
||||
2018-08-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
|
||||
|
||||
PR middle-end/86121
|
||||
|
|
|
@ -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 <cstdint>
|
||||
#include <cassert>
|
||||
|
|
Loading…
Add table
Reference in a new issue