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.sandif...@linaro.org> gcc/testsuite/ PR testsuite/79920 * gcc.dg/vect/pr79920.c: Restrict reduction test to vect_double. 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 } } } } } */