hppa64: Fix fmt_f_default_field_width_3.f90 and fmt_g_default_field_width_3.f90
[official-gcc.git] / gcc / testsuite / gfortran.dg / 20231103-2.f90
blobc510505d5adc3c71b7403264e10d7b13df65a1c3
1 ! { dg-do compile }
2 ! { dg-options "-Ofast" }
3 subroutine shr_map_checkFldStrshr_map_mapSet_dest(ndst,max0,eps,sum0,maxval0,min0,nidnjd,renorm)
4 allocatable sum(:)
5 logical renorm
6 allocate(sum(ndst))
7 do n=1,ndst
8 if (sum0 > eps) then
9 rmax = max0
10 endif
11 enddo
12 if (renorm) then
13 rmin = maxval0
14 rmax = minval(sum)
15 do n=1,nidnjd
16 if (sum0 > eps) then
17 rmin = min0
18 endif
19 enddo
20 write(*,*) rmin,rmax
21 endif
22 end