* [PATCH] tsan: remove not needed -ldl in options
@ 2021-11-14 13:01 Martin Liška
2021-11-14 13:09 ` Jan Hubicka
0 siblings, 1 reply; 2+ messages in thread
From: Martin Liška @ 2021-11-14 13:01 UTC (permalink / raw)
To: gcc-patches; +Cc: Jan Hubicka
Tested and pushed to master as obvious.
Martin
gcc/testsuite/ChangeLog:
* c-c++-common/tsan/free_race.c: Remove unnecessary -ldl.
* c-c++-common/tsan/free_race2.c: Likewise.
---
gcc/testsuite/c-c++-common/tsan/free_race.c | 2 +-
gcc/testsuite/c-c++-common/tsan/free_race2.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/testsuite/c-c++-common/tsan/free_race.c b/gcc/testsuite/c-c++-common/tsan/free_race.c
index 831c23e8859..390ec307dd8 100644
--- a/gcc/testsuite/c-c++-common/tsan/free_race.c
+++ b/gcc/testsuite/c-c++-common/tsan/free_race.c
@@ -1,5 +1,5 @@
/* { dg-shouldfail "tsan" } */
-/* { dg-additional-options "-ldl -fno-ipa-modref" } */
+/* { dg-additional-options "-fno-ipa-modref" } */
#include <stdlib.h>
diff --git a/gcc/testsuite/c-c++-common/tsan/free_race2.c b/gcc/testsuite/c-c++-common/tsan/free_race2.c
index a74d9dc3940..89d12c3175b 100644
--- a/gcc/testsuite/c-c++-common/tsan/free_race2.c
+++ b/gcc/testsuite/c-c++-common/tsan/free_race2.c
@@ -1,5 +1,5 @@
/* { dg-shouldfail "tsan" } */
-/* { dg-additional-options "-ldl -fno-ipa-modref" } */
+/* { dg-additional-options "-fno-ipa-modref" } */
#include <stdlib.h>
--
2.33.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] tsan: remove not needed -ldl in options
2021-11-14 13:01 [PATCH] tsan: remove not needed -ldl in options Martin Liška
@ 2021-11-14 13:09 ` Jan Hubicka
0 siblings, 0 replies; 2+ messages in thread
From: Jan Hubicka @ 2021-11-14 13:09 UTC (permalink / raw)
To: Martin Liška; +Cc: gcc-patches
> Tested and pushed to master as obvious.
>
> Martin
>
> gcc/testsuite/ChangeLog:
>
> * c-c++-common/tsan/free_race.c: Remove unnecessary -ldl.
> * c-c++-common/tsan/free_race2.c: Likewise.
Thank you, I cut&pasted it from the other testcase and forgot to remove
it. Patch is OK.
Honza
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-14 13:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-14 13:01 [PATCH] tsan: remove not needed -ldl in options Martin Liška
2021-11-14 13:09 ` Jan Hubicka
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).