From: Segher Boessenkool Date: Thu, 16 Mar 2017 18:18:58 +0000 (+0100) Subject: Fix tree-prof/pr66295.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9fc900af68527b00d67f11f897e1fe77a176bee2;p=gcc.git Fix tree-prof/pr66295.c This testcase can only ever be built on x86 (it needs the "avx*" attributes). This patch skips the test elsewhere. gcc/testsuite/ * gcc.dg/tree-prof/pr66295.c: Skip unless on an x86 target. From-SVN: r246206 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d32307fc4a5..1a6d154083b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-03-16 Segher Boessenkool + + * gcc.dg/tree-prof/pr66295.c: Skip unless on an x86 target. + 2017-03-16 Jakub Jelinek PR fortran/80010 diff --git a/gcc/testsuite/gcc.dg/tree-prof/pr66295.c b/gcc/testsuite/gcc.dg/tree-prof/pr66295.c index b90ef84ed10..d7d64c41b07 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)