Risc F77 compiler problems
Hurf Sheldon
hurf at batcomputer.tn.cornell.edu
Fri Jan 5 03:59:59 AEST 1990
Fowarded from one of our researchers:
I have a problem with the Risc f77 compiler. the following program will
not run:
program test
call sub ('sub')
call sub1 ('sub1',a1)
call sub2 ('sub2 entry',a2,a3)
stop
end
c
subroutine sub (c0)
character*(*) c0,c1,c2
print *,c0
return
entry sub1(c1,a1)
a1 = 1
print *,c1,a1
return
entry sub2(c2,a2,a3)
a2 = 1
a3 = 1
print *,c2,a2,a3
return
end
it gives essentially a segmentation fault. i tried turning off the
optimizer and other options but nothing worked. the above program
construction is valid in fortran 77, and the same program runs on our vax
under either f77 or fort commands.
if this construction is strictly not allowed on risc then the
installation of the our code will be set back at least a month
and probably longer to allow for reorganization of the code!
----
any ideas?
anybody we can talk to?
I understand there is a new release coming - we can get permission to use
a beta version if it will fix this.
thanks again,
hurf
--
Hurf Sheldon Network: hurf at ionvax.tn.cornell.edu
Lab of Plasma Studies Bitnet: hurf at CRNLION
369 Upson Hall, Cornell University, Ithaca, N.Y. 14853 ph:607 255 7267
"And the walls came tumbling down"
More information about the Comp.unix.ultrix
mailing list