Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Robert Williams <bob@bob.usuf2.usuhs.mil>
To: axp-list@redhat.com
Subject: Re: g77 broken in egcs-98032 on axp/Linux
Date: Tue, 31 Mar 1998 17:38:28 -0500	[thread overview]
Message-ID: <35217064.651D@bob.usuf2.usuhs.mil> (raw)
In-Reply-To: 199803311852.KAA21451@fock.usc.edu

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/


  reply	other threads:[~1998-03-31 22:38 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
1998-03-31 22:38   ` Robert Williams [this message]
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