Re: Need Help: compiling old Fortran program
- From: harper@xxxxxxxxxxxxx (John Harper)
- Date: 4 Jul 2007 10:27:26 +1200
In article <1183440526.358369.52110@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Terence <tbwright@xxxxxxxxx> wrote:
I was surprised nobody mentioned the effects of changing the value of
the DO-loop varable within the range of the loop. In the history of
compilers, there are (were) two ways of controlling a do-loop, DO
(label) I=i1,i2,i3
1) initialising the index to i1-i3 before the looping part,
incrementing by i3 and testing the current value against the i2 limit
before executing the loop instructions;
What is supposed to happen in that case if none of i1,i2,i3
overflows but i1-i3 does?
-- John Harper, School of Mathematics, Statistics and Computer Science,
Victoria University, PO Box 600, Wellington 6140, New Zealand
e-mail john.harper@xxxxxxxxx phone (+64)(4)463 5341 fax (+64)(4)463 5045
.
- Follow-Ups:
- Re: Need Help: compiling old Fortran program
- From: Wade Ward
- Re: Need Help: compiling old Fortran program
- References:
- Re: Need Help: compiling old Fortran program
- From: Ken Fairfield
- Re: Need Help: compiling old Fortran program
- From: Wade Ward
- Re: Need Help: compiling old Fortran program
- From: Terence
- Re: Need Help: compiling old Fortran program
- Prev by Date: Re: Scope question (gfortran odd-man out)
- Next by Date: Re: data mining
- Previous by thread: Re: Need Help: compiling old Fortran program
- Next by thread: Re: Need Help: compiling old Fortran program
- Index(es):
Relevant Pages
|