Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gfortran.dg/pr69155.f90 @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
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 |