summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/vect/cost-model-pr34445.f
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/vect/cost-model-pr34445.f')
-rw-r--r--gcc/testsuite/gfortran.dg/vect/cost-model-pr34445.f9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/vect/cost-model-pr34445.f b/gcc/testsuite/gfortran.dg/vect/cost-model-pr34445.f
new file mode 100644
index 000000000..6e4a26248
--- /dev/null
+++ b/gcc/testsuite/gfortran.dg/vect/cost-model-pr34445.f
@@ -0,0 +1,9 @@
+c { dg-do compile }
+ Subroutine FndSph(Alpha,Rad)
+ Dimension Rad(100),RadInp(100)
+ Do I = 1, NSphInp
+ Rad(I) = RadInp(I)
+ Alpha = 1.2
+ End Do
+ End
+c { dg-final { cleanup-tree-dump "vect" } }