public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/60813] New: [Coarray] substrings mishandled
@ 2014-04-10 21:13 burnus at gcc dot gnu.org
2014-04-14 9:00 ` [Bug fortran/60813] " dominiq at lps dot ens.fr
0 siblings, 1 reply; 2+ messages in thread
From: burnus at gcc dot gnu.org @ 2014-04-10 21:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60813
Bug ID: 60813
Summary: [Coarray] substrings mishandled
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Keywords: diagnostic, rejects-valid
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: burnus at gcc dot gnu.org
The following substring reference gives the bogus:
Error: Rank mismatch in array reference at (1) (1/0)
character(len=5), save :: str[*]
print *, str(j:j)
end
While the following (array section) is rejected - but with the wrong error
message. It should state that "str" is a scalar. (Correct syntax for a
substring would be "str[1](j:j)".)
character(len=5), save :: str[*]
print *, str(j:j)[1]
end
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug fortran/60813] [Coarray] substrings mishandled
2014-04-10 21:13 [Bug fortran/60813] New: [Coarray] substrings mishandled burnus at gcc dot gnu.org
@ 2014-04-14 9:00 ` dominiq at lps dot ens.fr
0 siblings, 0 replies; 2+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-04-14 9:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60813
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-04-14
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed on 4.7.4, 4.8.3, 4.9.0 (RC), and 4.10.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-14 9:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-10 21:13 [Bug fortran/60813] New: [Coarray] substrings mishandled burnus at gcc dot gnu.org
2014-04-14 9:00 ` [Bug fortran/60813] " dominiq at lps dot ens.fr
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).