Fix vect/trapv-vect-reduc-4.c for sparc

2015-08-12  Tom de Vries  <tom@codesourcery.com>

	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
This commit is contained in:
Tom de Vries 2015-08-12 05:50:55 +00:00 committed by Tom de Vries
parent ab644b9bc2
commit 51d3809e63
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2015-08-12 Tom de Vries <tom@codesourcery.com>
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 <ubizjak@gmail.com>
PR target/66954

View File

@ -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*-*-* } } } } } */