This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: fortran regression [was Re: Results for egcs-971207 on m68k-next-nextstep3]


> Craig> Lots of old code uses this construct (called "assumed
> Craig> arrays"), plus some new code as well.
>
>Given that we don't do f90 :-(, isn't the `old' code is what just uses
>dimensions of `(1)' with this the new-fangled way?  :-/

Ok, "REAL A(1)" is the old-old way, "REAL A(*)" is the old way,
"REAL A(N)" is the new way, "REAL, DIMENSION(N) :: A" is the
new-new way.  :)

By this I mean that assumed-size arrays are often trivially
replacable by the semantically superior adjustable arrays
("REAL A(N)"), though of course before either existed,
people often used "REAL A(1)".  Though there are still
(in F77 anyway) valid uses of assumed-sized arrays that
are not easily replaced by adjustable arrays.

        tq vm, (burley)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]