re PR tree-optimization/90020 (-O2 -Os x86-64 wrong code generated for GNU Emacs)

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
This commit is contained in:
Dominique d'Humieres 2019-04-15 09:56:43 +02:00
parent 303ebdaf6c
commit 1a9825f7d4
2 changed files with 7 additions and 0 deletions

View 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

View 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)