mirror of
https://github.com/autc04/Retro68.git
synced 2024-09-28 18:56:06 +00:00
16 lines
401 B
Fortran
16 lines
401 B
Fortran
! { 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 = max (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 = max (a, b, c, d, e, f, g, h)
|
|
end subroutine
|
|
|
|
|
|
! { dg-final { scan-tree-dump-times "MAX_EXPR " 14 "optimized" } }
|