public inbox for
 help / color / mirror / Atom feed
From: Jakub Jelinek <>
To: Tobias Burnus <>
Cc: gcc-patches <>, fortran <>
Subject: Re: [Patch] openmp: Map holds clause to IFN_ASSUME for Fortran
Date: Thu, 6 Oct 2022 18:32:04 +0200	[thread overview]
Message-ID: <Yz8DBIA0SLV1Xqkg@tucnak> (raw)
In-Reply-To: <>

On Thu, Oct 06, 2022 at 06:15:52PM +0200, Tobias Burnus wrote:
> On 06.10.22 14:17, Jakub Jelinek wrote:
> > On Thu, Oct 06, 2022 at 12:55:01PM +0200, Tobias Burnus wrote:
> > > I don't know whether it makes sense to handle – in the long run – the
> > > case of se.pre/ being nonempty – and, if so, how.
> > I think it is essential not to throw those away,
> > if se.pre or, you can e.g. expand it roughly as C/C++ ({ cond; }),
> > in GENERIC it can be say a TARGET_EXPR with a boolean
> > temporary as slot, where the the initializer will be the
> > se.pre part, followed by MODIFY_EXPR which sets the slot to se.expr
> > value and followed by
> Like as attached? – It did survive regtesting.

LGTM, thanks.

> BTW: The assumption in assume-4.f90 does not help, but I think that's
> expected. I wonder whether it will work in both cases after your
> gimplify work.

Well, gimplify + gimple-lower but more importantly ranger work later on,
at least that's the hope...


  reply	other threads:[~2022-10-06 16:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-06 10:55 Tobias Burnus
2022-10-06 12:17 ` Jakub Jelinek
2022-10-06 16:15   ` Tobias Burnus
2022-10-06 16:32     ` Jakub Jelinek [this message]
2022-10-10  7:40     ` [committed] openmp, fortran: Fix up IFN_ASSUME call Jakub Jelinek

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Yz8DBIA0SLV1Xqkg@tucnak \ \ \ \ \

* 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).