Re: Need Help: compiling old Fortran program



On Jun 29, 12:28 pm, Förster vom Silberwald <chain_l...@xxxxxxxxxxx>
wrote:

Sorry for additional staff. F77 on Sun accepts the code. However, g77
on Sun does not (as it expected from my Mac OSX experience and g77). I
am not sure who the boss actually is in terms of compiler hirarchy
because when using F77 then F90 is called with -f77 option:

==
igam02ws% f77 ./preprces.f -c
NOTICE: Invoking /opt/SUNWspro/bin/f90 -f77 -ftrap=%none ./preprces.f -
c
../preprces.f:
MAIN:
read5:
comhm:
comsig:
qext1:
tauin:
compw:
sigeps:
matinv:
adjust:
pplot:

IF (R(J) .EQ. 0.D0) GO TO 40
^
"./preprces.f", Line = 585, Column = 36: WARNING: Transfer of control
into the DO loop starting at line 587 is not safe.

5 (QSAVE(I,J,3,L3) .GT. Q1EST))) GO TO
160

^
"./preprces.f", Line = 1189, Column = 69: WARNING: Transfer of control
into the DO loop starting at line 1190 is not safe.

f90comp: 1257 SOURCE LINES
f90comp: 0 ERRORS, 2 WARNINGS, 0 OTHER MESSAGES, 0 ANSI
==

==
igam02ws% g77 ./preprces.f -c
../preprces.f: In subroutine `comsig':
../preprces.f:585:
IF (R(J) .EQ. 0.D0) GO TO 40
1
../preprces.f:587: (continued):
DO 40 I = 1,NWVL
2
Reference to label at (2) inconsistent with earlier reference at (1)
../preprces.f: In subroutine `pplot':
../preprces.f:1189:
5 (QSAVE(I,J,3,L3) .GT. Q1EST))) GO TO
160

1
../preprces.f:1190: (continued):
30 DO 160 K1 = 1,3
2
Reference to label at (2) inconsistent with earlier reference at (1)
==

.



Relevant Pages

  • Re: Need Help: compiling old Fortran program
    ... F77 on Sun accepts the code. ... on Sun does not (as it expected from my Mac OSX experience and g77). ...
    (comp.lang.fortran)
  • KTU 1.78 dates Akhenaton/Exodus to 1386BCE
    ... The day the new moon of Hiyaru was put to shame as the sun set ... Egyptian astronomical reference and thus this text is translated based on ... Thus this reference reflects an eclipse in progress ...
    (sci.archaeology)
  • Re: Solarizing
    ... If the reference is to the Sabbatier effect, you give the negative a flash ... And example would be a shot with the Sun in it (another ... > I read a reference in an old magazine about solarizing a negative. ...
    (rec.photo.darkroom)
  • Re: Compiler or coder bug?
    ... it resembles the F77 CHARACTER* ... compile time, while this case is determined at run time. ... which has a different declaration from the the called ... even the same for each execution of the same reference. ...
    (comp.lang.fortran)
  • Re: Will this end the hoaxters??
    ... that is Harrison through the references that link daily rotation to ... When the middle of the Sun (the Eye being ... as to bring both the threds into one line) appears to be in ... The Sun is the reference for the unequal natural ...
    (sci.astro.amateur)