public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, testsuite]: Fix g++.dg/torture/pr86763.C link failure for glibc < 2.17
@ 2018-08-06 15:10 Uros Bizjak
  2018-08-06 15:23 ` Jeff Law
  0 siblings, 1 reply; 7+ messages in thread
From: Uros Bizjak @ 2018-08-06 15:10 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]

2018-08-06  Uros Bizjak  <ubizjak@gmail.com>

    * g++.dg/torture/pr86763.C (dg-additional-options): Add -lrt.

Tested on CentOS 5.10 and Fedora 28.

OK for mainline?

Uros.

[-- Attachment #2: t.diff.txt --]
[-- Type: text/plain, Size: 408 bytes --]

Index: g++.dg/torture/pr86763.C
===================================================================
--- g++.dg/torture/pr86763.C	(revision 263317)
+++ g++.dg/torture/pr86763.C	(working copy)
@@ -1,5 +1,5 @@
 // { dg-do run }
-// { dg-additional-options "-fschedule-insns2 -fstrict-aliasing" }
+// { dg-additional-options "-fschedule-insns2 -fstrict-aliasing -lrt" }
 
 #include <cstdint>
 #include <cassert>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-08-07 19:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-06 15:10 [PATCH, testsuite]: Fix g++.dg/torture/pr86763.C link failure for glibc < 2.17 Uros Bizjak
2018-08-06 15:23 ` Jeff Law
2018-08-06 15:33   ` Uros Bizjak
2018-08-06 15:44     ` Jeff Law
2018-08-06 15:46       ` Uros Bizjak
2018-08-06 15:54     ` Andreas Schwab
2018-08-07 19:55       ` Rainer Orth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).