From: Dominique d'Humieres Date: Mon, 15 Apr 2019 07:56:43 +0000 (+0200) Subject: re PR tree-optimization/90020 (-O2 -Os x86-64 wrong code generated for GNU Emacs) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a9825f7d489cab7256bc3ff6dd67cdcf1e28922;p=gcc.git re PR tree-optimization/90020 (-O2 -Os x86-64 wrong code generated for GNU Emacs) 2019-04-15 Dominique d'Humieres PR tree-optimization/90020 * gcc.dg/torture/pr90020.c: Add linker options for darwin. From-SVN: r270360 --- 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)