view gcc/testsuite/gfortran.dg/pr69155.f90 @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
line wrap: on
line source

! PR tree-optimization/69155
! { dg-do compile }

function pr69155 (a, b)
  complex(kind=8), value :: a, b
  if (dimag (a) .lt. 10) then
  1 continue
    if (dble (a) .lt. 10) then
      b = b - 1 / a
      a = a + 1
      goto 1
    end if
  end if
  pr69155 = a + b
end