]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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 831c23e885960d9bff81ed6b900740ebc713afc9..390ec307dd8112bea63447a9f770a9390e5a29b8 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 a74d9dc3940e49c317c661721ddaa85eb5a9ffd0..89d12c3175b4c22f075f272e62f4ca8dea25f96c 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>