public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Thomas Koenig <tkoenig@netcologne.de>
To: Mark Eggleston <mark.eggleston@codethink.co.uk>,
	sgk@troutmask.apl.washington.edu
Cc: gcc-patches <gcc-patches@gcc.gnu.org>, fortran <fortran@gcc.gnu.org>
Subject: Re: [PATCH] fortran: ICE using undeclared symbol in array constructor, PR93484
Date: Mon, 24 Feb 2020 14:34:00 -0000	[thread overview]
Message-ID: <37db0f3c-6f16-1bc2-9311-e52cfe150497@netcologne.de> (raw)
In-Reply-To: <db38e908-ba3c-9e4d-854b-41fbcde68604@codethink.co.uk>

Hi Mark,

>> Might need
>>
>>          gfc_reduce_init_expr (e);
>>
>> here.  The kind type parameter should be a constant expression.
> 
> Not needed. I've also checked use of the kind argument, it is evidently 
> checked elsewhere: if k is allowed to be implicitly declared and is used 
> as the kind argument errors are reported that it is not a constant, if 
> implicit declaration is not allowed a "has no IMPLICIT type" error is 
> produced.

Is there a test case that covers this already?  OK if such a test
case exists, also OK with such a test case (or if looking for it
is too bother :-)

Regards

	Thomas

  reply	other threads:[~2020-02-24 14:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-11 12:10 Mark Eggleston
2020-02-11 15:23 ` Steve Kargl
2020-02-24 14:19   ` Mark Eggleston
2020-02-24 14:34     ` Thomas Koenig [this message]
2020-02-24 14:50       ` Mark Eggleston
2020-02-24 15:01         ` Tobias Burnus

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=37db0f3c-6f16-1bc2-9311-e52cfe150497@netcologne.de \
    --to=tkoenig@netcologne.de \
    --cc=fortran@gcc.gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=mark.eggleston@codethink.co.uk \
    --cc=sgk@troutmask.apl.washington.edu \
    /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).