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 19:01:56 +6400 (PST) [thread overview]
Message-ID: <199804010301.TAA22907@fock.usc.edu> (raw)
In-Reply-To: <35217064.651D@bob.usuf2.usuhs.mil> from "Robert Williams" at Mar 31, 98 05:38:28 pm
> > 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.
Sorry, I haven't seen the new egcs. I am on a low bandwith right now to look
at it. I didn't thought the development is so fast, it's just a couple weeks!
> 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/
Right, there is a problem. I didn't notice that since I just hate * dimensi-
ons - with parameter definitions there is no problem even for negative array
bounds. So, unless somebody in know will answer, I see some work for you.
Good luck!
Ladislav Zejda
lada@fock.usc.edu
prev parent reply other threads:[~1998-04-01 3:31 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
1998-03-29 3:01 ` Ladislav Zejda [this message]
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