[committed] Missing vect_double in gcc.dg/vect/pr79920.c (PR83836)

Message ID 87o9lvwayh.fsf@linaro.org
State New
Headers show
Series
  • [committed] Missing vect_double in gcc.dg/vect/pr79920.c (PR83836)
Related show

Commit Message

Richard Sandiford Jan. 15, 2018, 12:41 p.m.
Tested on aarch64-linux-gnu and x86_64-linux-gnu, also spot-tested
on sparc-sun-solaris2.11.  Installed as obvious.

Richard


2018-01-15  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/testsuite/
	PR testsuite/79920
	* gcc.dg/vect/pr79920.c: Restrict reduction test to vect_double.

Patch

Index: gcc/testsuite/gcc.dg/vect/pr79920.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/pr79920.c	2018-01-13 18:01:15.294116882 +0000
+++ gcc/testsuite/gcc.dg/vect/pr79920.c	2018-01-15 12:38:14.908597619 +0000
@@ -41,5 +41,5 @@  int main()
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times {using an in-order \(fold-left\) reduction} 1 "vect" } } */
+/* { dg-final { scan-tree-dump-times {using an in-order \(fold-left\) reduction} 1 "vect" { target vect_double } } } */
 /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" { target { vect_double && { vect_perm && vect_hw_misalign } } } } } */