Re: Need Help: compiling old Fortran program
- From: nospam@xxxxxxxxxxxxx (Richard Maine)
- Date: Fri, 29 Jun 2007 09:14:46 -0700
Förster vom Silberwald <chain_lube@xxxxxxxxxxx> wrote:
F90 accepts it:....
"./preprces.f", Line = 585, Column = 36: WARNING: Transfer of control
into the DO loop starting at line 587 is not safe.
Just because it accepts the code does *NOT* mean it compiles it
correctly. The earlier comments about outputting random numbers come to
mind. From this message, I would conclude that the compiler is
interpreting this like the extended range of a DO, even though that's
not what it is. It is clear to the human reader (me) that this is not
the intent of the code. In particular, theintent is to bypass the loop
rather than to transfer control into it.
I repeat the previous advice... but I think I'm about done with
repeating it in this case. If you won't listen to it, then I guess I
can't help you. If you want this code to work, you need to fix it
instead of looking for compiler options to make it compile. Suggested
fixes have been shown before.
--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
.
- References:
- Need Help: compiling old Fortran program
- From: Förster vom Silberwald
- Re: Need Help: compiling old Fortran program
- From: Wade Ward
- Re: Need Help: compiling old Fortran program
- From: Förster vom Silberwald
- Re: Need Help: compiling old Fortran program
- From: Richard Maine
- Re: Need Help: compiling old Fortran program
- From: Förster vom Silberwald
- Re: Need Help: compiling old Fortran program
- From: Förster vom Silberwald
- Need Help: compiling old Fortran program
- Prev by Date: Re: type/rank mismatch error
- Next by Date: Re: Need Help: compiling old Fortran program
- Previous by thread: Re: Need Help: compiling old Fortran program
- Next by thread: Re: Need Help: compiling old Fortran program
- Index(es):
Relevant Pages
|