annotate gcc/testsuite/gfortran.dg/matmul_14.f90 @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ! { dg-do compile }
kono
parents:
diff changeset
2 ! { dg-options "-O3 -fdump-tree-optimized" }
kono
parents:
diff changeset
3 ! Check that the default limit of 30 for inlining matmul applies.
kono
parents:
diff changeset
4 program main
kono
parents:
diff changeset
5 integer, parameter :: n = 30
kono
parents:
diff changeset
6 real, dimension(n,n) :: a, b, c
kono
parents:
diff changeset
7 call random_number(a)
kono
parents:
diff changeset
8 call random_number(b)
kono
parents:
diff changeset
9 c = matmul(a,b)
kono
parents:
diff changeset
10 print *,sum(c)
kono
parents:
diff changeset
11 end program main
kono
parents:
diff changeset
12 ! { dg-final { scan-tree-dump-times "_gfortran_matmul_r4" 0 "optimized" } }