https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63998
Bug ID: 63998 Summary: gcc.dg/lto/pr60820 fails on darwin Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: fxcoudert at gcc dot gnu.org gcc.dg/lto/pr60820 fails on x86_64-apple-darwin14 because of a warning: warning: alias definitions not supported in Mach-O; ignored I don't know if it should just be silenced, as per the patch below (which makes the testcase pass), or if it indicates a more fundamental issue. Index: pr60820_0.c =================================================================== --- pr60820_0.c (revision 217836) +++ pr60820_0.c (working copy) @@ -1,5 +1,5 @@ /* { dg-lto-do link } */ -/* { dg-lto-options {{-flto -r -nostdlib -O2}} } */ +/* { dg-lto-options {{-flto -r -nostdlib -O2 -w}} } */ #include <stdio.h> struct in6_addr {int bah;}; extern const struct in6_addr in6addr_any;