Author: dominiq Date: Mon Apr 15 07:56:43 2019 New Revision: 270360 URL: https://gcc.gnu.org/viewcvs?rev=270360&root=gcc&view=rev Log: 2019-04-15 Dominique d'Humieres <domi...@gcc.gnu.org> PR tree-optimization/90020 * gcc.dg/torture/pr90020.c: Add linker options for darwin.
--- trunk/gcc/testsuite/gcc.dg/torture/pr90020.c 2019/04/15 07:39:20 270359 +++ trunk/gcc/testsuite/gcc.dg/torture/pr90020.c 2019/04/15 07:56:43 270360 @@ -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) Dominique