Message ID | 5a7e1c7f-1e86-603f-c8da-2c96c616dc35@suse.cz |
---|---|
State | New |
Headers | show |
Series | tsan: remove not needed -ldl in options | expand |
> 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
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>