[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: g77 broken in egcs-98032 on axp/Linux



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []