| 1 |
! PR tree-optimization/69155 |
| 2 |
! { dg-do compile } |
| 3 |
|
| 4 |
function pr69155 (a, b) |
| 5 |
complex(kind=8), value :: a, b |
| 6 |
if (dimag (a) .lt. 10) then |
| 7 |
1 continue |
| 8 |
if (dble (a) .lt. 10) then |
| 9 |
b = b - 1 / a |
| 10 |
a = a + 1 |
| 11 |
goto 1 |
| 12 |
end if |
| 13 |
end if |
| 14 |
pr69155 = a + b |
| 15 |
end |