From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 5281 invoked from network); 31 Mar 1998 19:22:19 -0000 Received: from fock.usc.edu (lada@128.125.104.193) by mail2.redhat.com with SMTP; 31 Mar 1998 19:22:19 -0000 Received: (from lada@localhost) by fock.usc.edu (8.8.6/8.8.6) id KAA21451 for axp-list@redhat.com; Tue, 31 Mar 1998 10:52:43 -0800 From: Ladislav Zejda Message-Id: <199803311852.KAA21451@fock.usc.edu> Subject: Re: g77 broken in egcs-98032 on axp/Linux To: axp-list@redhat.com Date: Tue, 31 Mar 1998 10:52:42 -0800 (PST) In-Reply-To: <35212533.A524B205@bob.usuf2.usuhs.mil> from "Robert Williams" at Mar 31, 98 12:17:39 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > > I'm looking for a little help to fix this bug in g77. > The following simple program segfaults because > (I think) the address of "Name", and perhaps other information, > is not getting passed. (Just "Name" in the write statement also > bombs.) > I'm not quite sure how to proceed from here: > > program junk > character*10 Name > Name = 'X' > Write(6,1000) Name(1:1) > 1000 Format(' Name = ',A) > stop > end > .... > Bob Williams, http://bob.usuf2.usuhs.mil/ Dear Bob, For your information, I just tried your program in egcs-1.0.2 release and it works fine: lada@centauri(5):~/>./a.out Name = X lada@centauri(6):~/>g77 --version egcs-2.90.27 980315 (egcs-1.0.2 release) (Compiled by "g77 -O2 -g"). So, maybe you can install egcs-1.0.2 release and compare c files. Cheers, Ladislav Zejda lada@fock.usc.edu