Within the last 3 days, gcc.target/i386/pr78419.c started to FAIL on Solaris/x86:
FAIL: gcc.target/i386/pr78419.c (test for excess errors) Excess errors: /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.target/i386/pr78419.c:10:10: error: the call requires ifunc, which is not supported by this target Initially I thought: no wonder, Solaris ld.so.1 lacks ifunc support and installed the following patch as obvious, requiring ifunc support as in gcc.target/i386/mvc?.c. Looking closer, however, I noticed that the testcase had already been installed in November and had PASSed even on Solaris ever since. I suppose the fix is still correct, but this remains strange. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University 2017-02-07 Rainer Orth <r...@cebitec.uni-bielefeld.de> * gcc.target/i386/pr78419.c: Require ifunc support.
# HG changeset patch # Parent 5a45f3c6319c555ed326c7f2d22cc54989105f09 Require ifunc support in gcc.target/i386/pr78419.c diff --git a/gcc/testsuite/gcc.target/i386/pr78419.c b/gcc/testsuite/gcc.target/i386/pr78419.c --- a/gcc/testsuite/gcc.target/i386/pr78419.c +++ b/gcc/testsuite/gcc.target/i386/pr78419.c @@ -1,5 +1,6 @@ /* PR middle-end/78419 */ /* { dg-do compile } */ +/* { dg-require-ifunc "" } */ static double bar (double *__restrict, double *__restrict, int) __attribute__ ((target_clones("avx,foo,avx2,avx512f,default")));