From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 3953 invoked from network); 31 Mar 1998 22:38:31 -0000 Received: from bob.usuf2.usuhs.mil (131.158.3.183) by mail2.redhat.com with SMTP; 31 Mar 1998 22:38:31 -0000 Received: by bob.usuf2.usuhs.mil; (5.65/1.1.8.2/28Apr95-0137AM) id AA19732; Tue, 31 Mar 1998 17:38:29 -0500 Sender: bob@bob.usuf2.usuhs.mil Message-Id: <35217064.651D@bob.usuf2.usuhs.mil> Date: Tue, 31 Mar 1998 17:38:28 -0500 From: Robert Williams Organization: Uniformed Services University X-Mailer: Mozilla 3.01Gold (X11; U; OSF1 V3.2 alpha) Mime-Version: 1.0 To: axp-list@redhat.com Subject: Re: g77 broken in egcs-98032 on axp/Linux References: <199803311852.KAA21451@fock.usc.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Ladislav Zejda wrote: > > > program junk > > character*10 Name > > Name = 'X' > > Write(6,1000) Name(1:1) > > 1000 Format(' Name = ',A) > > stop > > end > > > I just tried your program in egcs-1.0.2 release and it > works fine:...So, maybe you can install egcs-1.0.2 > release and compare c files. > Thanks. That's one brute force approach. The diff between these two directories is 5.8 Mbytes. As for 1.0.2, egcs-1.0.2 can't handle negative array bounds combined with an asteric for the upper bound. The latest snap can, but it can't do a "write".... Try this: program bomb integer iname(-1:3) iname(2) = 2 call pow(iname) stop end subroutine pow(iname) integer iname(-1:*) Write(6,1000) iname(2) 1000 Format(' iname(2) = ',i5) return end -- Bob Williams, http://bob.usuf2.usuhs.mil/