[Fortran] Use MIN/MAX_EXPR or IFN_FMIN/MAX for min/max intrinsics when possible
[official-gcc.git] / gcc / testsuite / gfortran.dg / min_fmin_aarch64.f90
blob009869b497df7737089971e00c01e1c29c0a3032
1 ! { dg-do compile { target aarch64*-*-* } }
2 ! { dg-options "-O2 -fdump-tree-optimized" }
4 subroutine foo (a, b, c, d, e, f, g, h)
5 real (kind=8) :: a, b, c, d, e, f, g, h
6 a = min (a, b, c, d, e, f, g, h)
7 end subroutine
10 subroutine foof (a, b, c, d, e, f, g, h)
11 real (kind=4) :: a, b, c, d, e, f, g, h
12 a = min (a, b, c, d, e, f, g, h)
13 end subroutine
15 ! { dg-final { scan-tree-dump-times "\.FMIN " 14 "optimized" } }