From: Tom de Vries Date: Wed, 12 Aug 2015 05:50:55 +0000 (+0000) Subject: Fix vect/trapv-vect-reduc-4.c for sparc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=51d3809e630ad4576cbf4cbcd7db9782152f9a41;p=gcc.git 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 --- 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*-*-* } } } } } */