public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/35040] usage of init expression in its own definition
Date: Fri, 01 Feb 2008 09:48:00 -0000	[thread overview]
Message-ID: <20080201094741.2930.qmail@sourceware.org> (raw)
In-Reply-To: <bug-35040-13648@http.gcc.gnu.org/bugzilla/>



------- Comment #4 from dfranke at gcc dot gnu dot org  2008-02-01 09:47 -------
> And I also believe all our examples in this PR are wrong.

In all the invalid examples given in comment #3, the dimension specification is
on the rhs of '::'. In my example it's on the lhs. If the latter is invalid
too, how about

DIMENSION :: xyz(2,2)
REAL, PARAMETER :: xyz = RESHAPE((/ 1,2,3,4 /), SHAPE(xyz))
END

This should be perfectly valid?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35040


  parent reply	other threads:[~2008-02-01  9:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-31 10:43 [Bug fortran/35040] New: " dfranke at gcc dot gnu dot org
2008-01-31 12:46 ` [Bug fortran/35040] " burnus at gcc dot gnu dot org
2008-01-31 13:30 ` burnus at gcc dot gnu dot org
2008-01-31 22:52 ` burnus at gcc dot gnu dot org
2008-02-01  9:48 ` dfranke at gcc dot gnu dot org [this message]
2008-11-01 21:20 ` janus at gcc dot gnu dot org
2008-11-01 22:15 ` burnus at gcc dot gnu dot org
     [not found] <bug-35040-4@http.gcc.gnu.org/bugzilla/>
2012-06-27 16:18 ` burnus at gcc dot gnu.org
2013-12-14  9:42 ` janus at gcc dot gnu.org

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=20080201094741.2930.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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).