This testcase can only ever be built on x86 (it needs the "avx*" attributes). This patch skips the test elsewhere.
Is this okay for trunk? Segher 2017-03-15 Segher Boessenkool <seg...@kernel.crashing.org> gcc/testsuite/ * gcc.dg/tree-prof/pr66295.c: Skip unless on an x86 target. --- gcc/testsuite/gcc.dg/tree-prof/pr66295.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.dg/tree-prof/pr66295.c b/gcc/testsuite/gcc.dg/tree-prof/pr66295.c index b90ef84..d7d64c4 100644 --- a/gcc/testsuite/gcc.dg/tree-prof/pr66295.c +++ b/gcc/testsuite/gcc.dg/tree-prof/pr66295.c @@ -1,4 +1,5 @@ /* { dg-require-ifunc "" } */ +/* { dg-skip-if "" { ! { i?86-*-* x86_64-*-* } } } */ /* { dg-options "-O2" } */ static double bar (double *__restrict, double *__restrict, int) -- 1.9.3