aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2017-03-16 19:18:58 +0100
committerSegher Boessenkool <segher@gcc.gnu.org>2017-03-16 19:18:58 +0100
commit9fc900af68527b00d67f11f897e1fe77a176bee2 (patch)
treef17ffcc51894eac531fe6d1dc031b998d47c448c /gcc
parente363c939cb507a00eab85c0cd441ee98a5f3a7fb (diff)
downloadgcc-9fc900af68527b00d67f11f897e1fe77a176bee2.zip
gcc-9fc900af68527b00d67f11f897e1fe77a176bee2.tar.gz
gcc-9fc900af68527b00d67f11f897e1fe77a176bee2.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/tree-prof/pr66295.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index d32307f..1a6d154 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2017-03-16 Segher Boessenkool <segher@kernel.crashing.org>
+
+ * gcc.dg/tree-prof/pr66295.c: Skip unless on an x86 target.
+
2017-03-16 Jakub Jelinek <jakub@redhat.com>
PR fortran/80010
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)