gcc/testsuite/gfortran.dg/vect/pr62283-2.f
raw| 1 | ! { dg-do compile } |
| 2 | ! { dg-require-effective-target vect_float } |
| 3 | ! { dg-additional-options "-fdump-tree-slp2-details" } |
| 4 | subroutine saxpy(alpha,x,y) |
| 5 | real x(4),y(4),alpha |
| 6 | y(1)=y(1)+alpha*x(1) |
| 7 | y(2)=y(2)+alpha*x(2) |
| 8 | y(3)=y(3)+alpha*x(3) |
| 9 | y(4)=y(4)+alpha*x(4) |
| 10 | end |
| 11 | ! { dg-final { scan-tree-dump "optimized: basic block" "slp2" } } |