diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8055780aaa1..877ecc46502 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-04-15 Dominique d'Humieres + + PR tree-optimization/90020 + * gcc.dg/torture/pr90020.c: Add linker options for darwin. + 2019-04-14 Jan Hubicka PR lto/89358 diff --git a/gcc/testsuite/gcc.dg/torture/pr90020.c b/gcc/testsuite/gcc.dg/torture/pr90020.c index 2aa8aa0e4a4..1748243852a 100644 --- a/gcc/testsuite/gcc.dg/torture/pr90020.c +++ b/gcc/testsuite/gcc.dg/torture/pr90020.c @@ -1,5 +1,7 @@ /* { dg-do run } */ /* { dg-require-weak "" } */ +/* { dg-additional-options "-Wl,-undefined,dynamic_lookup" { target *-*-darwin* } } */ +/* { dg-additional-options "-Wl,-flat_namespace" { target *-*-darwin[89]* } } */ void __attribute__((noinline,noclone)) check (int i)