Xref: utzoo comp.sys.dec:2400 comp.unix.ultrix:2457 Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!rpi!batcomputer!hurf From: hurf@batcomputer.tn.cornell.edu (Hurf Sheldon) Newsgroups: comp.sys.dec,comp.unix.ultrix Subject: Risc F77 compiler problems Message-ID: <9497@batcomputer.tn.cornell.edu> Date: 4 Jan 90 16:59:59 GMT Reply-To: hurf@tcgould.tn.cornell.edu (Hurf Sheldon) Organization: Cornell Theory Center, Cornell University, Ithaca NY Lines: 55 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@ionvax.tn.cornell.edu Lab of Plasma Studies Bitnet: hurf@CRNLION 369 Upson Hall, Cornell University, Ithaca, N.Y. 14853 ph:607 255 7267 "And the walls came tumbling down"