public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
From: Thomas Koenig <tkoenig@netcologne.de>
To: Tobias Burnus <burnus@net-b.de>,
	gcc-patches <gcc-patches@gcc.gnu.org>,
	fortran <fortran@gcc.gnu.org>
Subject: Re: [Patch] Fortran: Fix ubound simplifcation [PR99027]
Date: Wed, 17 Feb 2021 22:55:49 +0100	[thread overview]
Message-ID: <914dbea2-e8ee-5af0-e03c-86c0aa874b6b@netcologne.de> (raw)
In-Reply-To: <767e8576-908d-769d-7c63-80a7f6a048af@net-b.de>

Hi Tobias,

> The problem which accessing dim=<n> for an expression is that
> when the argument is an array, dim=<n> and expr->rank are relative
> to the resulting array – but the array-ref also contains the
> DIMEN_ELEMENT which does not count for dim=/rank.
> 
> OK for the trunk? (Reported against GCC 11, but I wonder whether
> we should still apply it to GCC 10.)

OK, also OK for gcc 10 (a clear wrong-code bug with a
clear solution is fine, IMHO).

Best regards

	Thomas

      reply	other threads:[~2021-02-17 21:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-13 20:49 Tobias Burnus
2021-02-17 21:55 ` Thomas Koenig [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=914dbea2-e8ee-5af0-e03c-86c0aa874b6b@netcologne.de \
    --to=tkoenig@netcologne.de \
    --cc=burnus@net-b.de \
    --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).