On Thu, 15 Jan 2015, Richard Biener wrote: > > Committed.
Turns out we can do better. Committed. Richard. 2015-01-15 Richard Biener <rguent...@suse.de> PR lto/64415 * gcc.dg/lto/pr64415_0.c: Re-enable for darwin with -Wl,-undefined,dynamic_lookup. Index: gcc/testsuite/gcc.dg/lto/pr64415_0.c =================================================================== --- gcc/testsuite/gcc.dg/lto/pr64415_0.c (revision 219647) +++ gcc/testsuite/gcc.dg/lto/pr64415_0.c (working copy) @@ -1,8 +1,8 @@ /* { dg-lto-do link } */ -/* { dg-skip-if "undefined symbols" { *-*-darwin* } } */ /* { dg-require-effective-target fpic } */ /* { dg-lto-options { { -O -flto -fpic } } } */ /* { dg-extra-ld-options { -shared } } */ +/* { dg-extra-ld-options "-Wl,-undefined,dynamic_lookup" { target *-*-darwin* } } */ extern void bar(char *, int);