This test fails on Darwin, because it doesn’t support symbol aliases.
Fixed by adding the dg-requires line,
tested on x86_64-darwin16, applied as obvious,
thanks
Iain

gcc/testsuite/
2019-06-13  Iain Sandoe  <i...@sandoe.co.uk>

        * gcc.dg/pr90760.c: Require alias support.



diff --git a/gcc/testsuite/gcc.dg/pr90760.c b/gcc/testsuite/gcc.dg/pr90760.c
index 525a21a..6092a4e 100644
--- a/gcc/testsuite/gcc.dg/pr90760.c
+++ b/gcc/testsuite/gcc.dg/pr90760.c
@@ -1,5 +1,6 @@
 /* PR c/90760 */
 /* { dg-do compile } */
+/* { dg-require-alias "" } */
 /* { dg-require-named-sections "" } */
 
 void bar (void) {}

Reply via email to