Debian Codegraph @

gcc/testsuite/gfortran.dg/minmax_integer.f90

raw
1 ! { dg-do compile }
2 ! { dg-options "-O2 -fdump-tree-optimized" }
3
4 subroutine foo (a, b, c, d, e, f, g, h)
5 integer (kind=4) :: a, b, c, d, e, f, g, h
6 a = min (a, b, c, d, e, f, g, h)
7 end subroutine
8
9 subroutine foof (a, b, c, d, e, f, g, h)
10 integer (kind=4) :: a, b, c, d, e, f, g, h
11 a = max (a, b, c, d, e, f, g, h)
12 end subroutine
13
14 ! { dg-final { scan-tree-dump-times "MIN_EXPR" 7 "optimized" } }
15 ! { dg-final { scan-tree-dump-times "MAX_EXPR" 7 "optimized" } }