public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "sgk at troutmask dot apl dot washington dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/19926] New: Incorrect rank with PARAMETER and array element.
Date: Sat, 12 Feb 2005 21:10:00 -0000 [thread overview]
Message-ID: <20050212162405.19926.sgk@troutmask.apl.washington.edu> (raw)
>From Richard Maine, editor of the F2003 standard
subroutine string_comp
integer, parameter :: map(0:50) = 0
integer :: i
i = map(42)
end subroutine string_comp
In file bug2.f90:4
i = map(42)
1
Error: Incompatible ranks 0 and 1 in assignment at (1)
Note that it works without the parameter attribute.
--
Summary: Incorrect rank with PARAMETER and array element.
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sgk at troutmask dot apl dot washington dot edu
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19926
next reply other threads:[~2005-02-12 16:24 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-12 21:10 sgk at troutmask dot apl dot washington dot edu [this message]
2005-02-12 21:35 ` [Bug fortran/19926] " pinskia at gcc dot gnu dot org
2005-03-12 12:57 ` toon at moene dot indiv dot nluug dot nl
2005-06-10 23:35 ` eedelman at acclab dot helsinki dot fi
2005-06-11 9:39 ` eedelman at acclab dot helsinki dot fi
2005-06-11 12:44 ` eedelman at acclab dot helsinki dot fi
2005-06-11 13:49 ` sgk at troutmask dot apl dot washington dot edu
2005-06-13 1:49 ` kargl at gcc dot gnu dot org
2005-06-18 18:16 ` cvs-commit at gcc dot gnu dot org
2005-06-18 18:21 ` [Bug fortran/19926] [4.0 only] " kargl at gcc dot gnu dot org
2005-06-18 18:27 ` cvs-commit at gcc dot gnu dot org
2005-07-08 21:21 ` cvs-commit at gcc dot gnu dot org
2005-07-08 21:25 ` cvs-commit at gcc dot gnu dot org
2005-07-08 21:26 ` kargl at gcc dot gnu dot 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=20050212162405.19926.sgk@troutmask.apl.washington.edu \
--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).