re PR tree-optimization/90020 (-O2 -Os x86-64 wrong code generated for GNU Emacs)
authorDominique d'Humieres <dominiq@gcc.gnu.org>
Mon, 15 Apr 2019 07:56:43 +0000 (09:56 +0200)
committerDominique d'Humieres <dominiq@gcc.gnu.org>
Mon, 15 Apr 2019 07:56:43 +0000 (09:56 +0200)
2019-04-15  Dominique d'Humieres  <dominiq@gcc.gnu.org>

PR tree-optimization/90020
* gcc.dg/torture/pr90020.c: Add linker options for darwin.

From-SVN: r270360

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr90020.c

index 8055780aaa18810ca329d433b87547ece0bb31db..877ecc46502c01e93235798e189ded950a9b9c40 100644 (file)
@@ -1,3 +1,8 @@
+2019-04-15  Dominique d'Humieres  <dominiq@gcc.gnu.org>
+
+       PR tree-optimization/90020
+       * gcc.dg/torture/pr90020.c: Add linker options for darwin.
+
 2019-04-14  Jan Hubicka  <hubicka@ucw.cz>
 
        PR lto/89358
index 2aa8aa0e4a461ecd48aba11637be352c375e89f5..1748243852a8cc93cbcd53b22d5afcab4719c00c 100644 (file)
@@ -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)