tsan: remove not needed -ldl in options
authorMartin Liska <mliska@suse.cz>
Sun, 14 Nov 2021 12:54:32 +0000 (13:54 +0100)
committerMartin Liska <mliska@suse.cz>
Sun, 14 Nov 2021 12:54:32 +0000 (13:54 +0100)
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
gcc/testsuite/c-c++-common/tsan/free_race2.c

index 831c23e..390ec30 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-shouldfail "tsan" } */
-/* { dg-additional-options "-ldl -fno-ipa-modref" } */
+/* { dg-additional-options "-fno-ipa-modref" } */
 
 #include <stdlib.h>
 
index a74d9dc..89d12c3 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-shouldfail "tsan" } */
-/* { dg-additional-options "-ldl -fno-ipa-modref" } */
+/* { dg-additional-options "-fno-ipa-modref" } */
 
 #include <stdlib.h>