public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Craig Burley <burley@gnu.org>
To: egcs@cygnus.com
Subject: Re: fortran regression [was Re: Results for egcs-971207 on m68k-next-nextstep3]
Date: Fri, 12 Dec 1997 18:04:00 -0000	[thread overview]
Message-ID: <199712130115.UAA11277@melange.gnu.org> (raw)
In-Reply-To: <rzqd8j2zb5m.fsf@djlvig.dl.ac.uk>

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

  reply	other threads:[~1997-12-12 18:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-10  7:08 Results for egcs-971207 on m68k-next-nextstep3 Toon Moene
1997-12-10 13:36 ` fortran regression [was Re: Results for egcs-971207 on m68k-next-nextstep3] Dave Love
1997-12-10 16:43   ` Jeffrey A Law
1997-12-11 11:14     ` Dave Love
1997-12-11 16:33       ` Craig Burley
1997-12-12 10:18         ` Dave Love
1997-12-12 18:04           ` Craig Burley [this message]
     [not found]         ` <rzqd8j2zb5m.fsf.cygnus.egcs@djlvig.dl.ac.uk>
1997-12-12 15:46           ` Jason Merrill
1997-12-13 10:44             ` Dave Love
1997-12-15 23:18         ` g77 assumed array patch [was: fortran regression] Richard Henderson
1997-12-18 23:19           ` Jeffrey A Law
1997-12-19 12:37             ` Dave Love

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199712130115.UAA11277@melange.gnu.org \
    --to=burley@gnu.org \
    --cc=egcs@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).