URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [do_while_1.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do run }
! PR 50327 - this used to cause an endless loop because
! of wrong fron-end optimization.
program main
real :: tmp
tmp = 0.
do while (abs(tmp) < 10. .and. abs(tmp) < 20.)
tmp = tmp + 1.
end do
end program main