From 51d3809e630ad4576cbf4cbcd7db9782152f9a41 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Wed, 12 Aug 2015 05:50:55 +0000 Subject: [PATCH] Fix vect/trapv-vect-reduc-4.c for sparc 2015-08-12 Tom de Vries PR testsuite/67175 * gcc.dg/vect/trapv-vect-reduc-4.c: Add reduction detection scan. Handle absence of vector min/max for sparc. From-SVN: r226800 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/vect/trapv-vect-reduc-4.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5c970e70c8a..8fa89f2fe77 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2015-08-12 Tom de Vries + + PR testsuite/67175 + * gcc.dg/vect/trapv-vect-reduc-4.c: Add reduction detection scan. + Handle absence of vector min/max for sparc. + 2015-08-11 Uros Bizjak PR target/66954 diff --git a/gcc/testsuite/gcc.dg/vect/trapv-vect-reduc-4.c b/gcc/testsuite/gcc.dg/vect/trapv-vect-reduc-4.c index 86f9b9002ba..8fd353c623d 100644 --- a/gcc/testsuite/gcc.dg/vect/trapv-vect-reduc-4.c +++ b/gcc/testsuite/gcc.dg/vect/trapv-vect-reduc-4.c @@ -46,4 +46,5 @@ int main (void) return 0; } -/* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */ +/* { dg-final { scan-tree-dump-times "Detected reduction\\." 2 "vect" } } */ +/* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" { target { ! { sparc*-*-* } } } } } */ -- 2.30.2