public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jerry D <jvdelisle2@gmail.com>
To: Harald Anlauf <anlauf@gmx.de>, fortran <fortran@gcc.gnu.org>,
	gcc-patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH] Fortran: do not evaluate polymorphic functions twice in assignment [PR114012]
Date: Sun, 25 Feb 2024 15:11:48 -0800	[thread overview]
Message-ID: <10c1c2b3-57cc-4abe-b42d-e454dd5404cf@gmail.com> (raw)
In-Reply-To: <trinity-4315f985-0313-4756-8fc6-79e4b4b3da90-1708892761015@3c-app-gmx-bap36>

On 2/25/24 12:26 PM, Harald Anlauf wrote:
> Dear all,
> 
> the attached simple patch fixes an issue where we evaluated
> polymorphic functions twice in assignments: once for the _data
> component, and once for the _vptr.  Using save_expr prevents
> the double evaluation.
> 
> Regtested on x86_64-pc-linux-gnu.  OK for mainline?
> And a backport to 13-branch after some delay?
> 
> Thanks,
> Harald
> 

Yes, simple enough. OK.

Thanks,

Jerry

      reply	other threads:[~2024-02-25 23:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-25 20:26 Harald Anlauf
2024-02-25 23:11 ` Jerry D [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=10c1c2b3-57cc-4abe-b42d-e454dd5404cf@gmail.com \
    --to=jvdelisle2@gmail.com \
    --cc=anlauf@gmx.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).