public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/56423] F08/0071: Shall reject invalid Vector subscript target with Pointer assignment
Date: Sat, 10 Oct 2015 10:28:00 -0000 [thread overview]
Message-ID: <bug-56423-4-pXIoQdKawJ@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-56423-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56423
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-10-10
Ever confirmed|0 |1
Known to fail| |4.8.5, 4.9.3, 5.2.0, 6.0
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
>From my version of the F2015 draft
C725 (R737) The expr shall be a designator that designates a variable with
either
the TARGET or POINTER attribute and is not an array section with
a vector subscript, or it shall be a reference to a function that
returns a data pointer.
Note that 't(x( [ 1,4,9,25 ] ))' is not rejected but gives an ICE from 4.8 up
to trunk (6.0):
[Book15] f90/bug% gfortran pr56423.f90
pr56423.f90:11:0:
y = t(x( [ 1,4,9,25 ] )) ! (4) ! Invalid per IR F08/0071 but not
rejected
1
internal compiler error: in gfc_conv_expr_descriptor, at
fortran/trans-array.c:6702
where gfortran is 5.2.0.
prev parent reply other threads:[~2015-10-10 10:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-21 21:25 [Bug fortran/56423] New: " burnus at gcc dot gnu.org
2015-10-10 10:28 ` dominiq at lps dot ens.fr [this message]
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=bug-56423-4-pXIoQdKawJ@http.gcc.gnu.org/bugzilla/ \
--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).