(root)/
gcc-13.2.0/
gcc/
testsuite/
gfortran.dg/
min_expr.f90
! { dg-do compile }
! { dg-options "-O2 -fdump-tree-optimized" }

subroutine foo (a, b, c, d, e, f, g, h)
  real (kind=8) :: a, b, c, d, e, f, g, h
  a = min (a, b, c, d, e, f, g, h)
end subroutine


subroutine foof (a, b, c, d, e, f, g, h)
  real (kind=4) :: a, b, c, d, e, f, g, h
  a = min (a, b, c, d, e, f, g, h)
end subroutine

! { dg-final { scan-tree-dump-times "MIN_EXPR " 14 "optimized" } }