Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Ladislav Zejda <lada@fock.usc.edu>
To: axp-list@redhat.com
Subject: Re: g77 broken in egcs-98032 on axp/Linux
Date: Tue, 31 Mar 1998 10:52:42 -0800 (PST)	[thread overview]
Message-ID: <199803311852.KAA21451@fock.usc.edu> (raw)
In-Reply-To: <35212533.A524B205@bob.usuf2.usuhs.mil> from "Robert Williams" at Mar 31, 98 12:17:39 pm

> 
> 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
 


  reply	other threads:[~1998-03-31 19:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-31 17:17 g77 broken in egcs-98032 on axp/Linux Robert Williams
1998-03-31 18:52 ` Ladislav Zejda [this message]
1998-03-31 22:38   ` Robert Williams
1998-03-29  3:01     ` Ladislav Zejda
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox