From: Jerry D <jvdelisle2@gmail.com>
To: gfortran <fortran@gcc.gnu.org>
Cc: gcc-patches <gcc-patches@gcc.gnu.org>
Subject: Re: [patch. fortran] PR102595 ICE in var_element, at fortran/decl.c
Date: Fri, 20 Jan 2023 21:16:40 -0800 [thread overview]
Message-ID: <954b2104-fd92-1e77-5565-7e41b0f8194f@gmail.com> (raw)
In-Reply-To: <dbce44ba-6020-ee61-d657-5676a5432e79@gmail.com>
On 1/20/23 5:46 PM, Jerry D wrote:
> A PARAMETER value is not allowed in a DATA statement, similar to an
> EQUIVALENCE.
>
> The check for this was in gfc_assign_data_value() in data.cc which turns
> out to be too late when trying to assign a zero sized array.
Correction, the chunk in data.cc must remain for one test case. I
spotted this after rerunning check-fortran for several variations.
Regards,
Jerry
next prev parent reply other threads:[~2023-01-21 5:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-21 1:46 Jerry D
2023-01-21 5:16 ` Jerry D [this message]
2023-01-21 18:27 ` Jerry D
2023-01-21 19:14 ` Harald Anlauf
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=954b2104-fd92-1e77-5565-7e41b0f8194f@gmail.com \
--to=jvdelisle2@gmail.com \
--cc=fortran@gcc.gnu.org \
--cc=gcc-patches@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).