Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!ogicse!decwrl!sgi!shinobu!odin!dinkum!calvin From: calvin@dinkum.sgi.com (Calvin H. Vu) Newsgroups: comp.sys.sgi Subject: Re: f77 dumped core Message-ID: <4444@odin.SGI.COM> Date: 22 Feb 90 20:29:35 GMT References: <975@dftsrv.gsfc.nasa.gov> Sender: news@odin.SGI.COM Lines: 37 In article <975@dftsrv.gsfc.nasa.gov> merritt@iris613.gsfc.nasa.gov (John H Merritt) writes: >f77 could not digest the following program; it handled it fine when >I have the declaration of the character variable. >-------------------- cut --------------------------------- > program test >* character*80 inpfile >* inpfile = '10-28-86' > open(1,file="/usr/local/lib/"//inpfile, > * status='old',err=111,form='unformatted', > *access='direct',recl=5752) > print*,'Open SUCCESSFUL' > stop > 111 print*,'Open FAILED' > stop > end >-------------------- cut --------------------------------- >Here is the response I received for 'f77 test.f': >Fatal error in: /usr/lib/fcom - core dumped > Signal 139 This has been fixed our next release which will give the appropriate error message: Error on line 4 of open.f: concatenation of nonchar data >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >John H. Merritt # Yesterday I knew nothing, >Applied Research Corporation # Today I know that. >merritt@iris613.gsfc.nasa.gov # Sorry about the trouble, -Calvin Vu