public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "burnus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/104826] [11/12/13 Regression] ICE in gimple_range_global, at value-query.cc:424 – with deferred-length character variable
Date: Mon, 20 Feb 2023 08:44:10 +0000	[thread overview]
Message-ID: <bug-104826-4-JVe7tYHUWP@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-104826-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104826

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org
            Summary|[11/12/13 Regression] ICE   |[11/12/13 Regression] ICE
                   |in gimple_range_global, at  |in gimple_range_global, at
                   |value-query.cc:424          |value-query.cc:424 – with
                   |                            |deferred-length character
                   |                            |variable

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> ---
The code as written is invalid as 'x' is originally unallocated on entry to the
target region but then gets allocated on assignment in the target region.

However, adding before '!$omp target' the line
   allocate(character(len=3) :: x)
does not help.

  parent reply	other threads:[~2023-02-20  8:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-07 18:02 [Bug fortran/104826] New: [11/12 Regression] ICE in gimple_range_global, at value-query.cc:424 gscfq@t-online.de
2022-03-08  7:22 ` [Bug fortran/104826] " rguenth at gcc dot gnu.org
2022-03-08  8:28 ` jakub at gcc dot gnu.org
2022-04-21  7:51 ` rguenth at gcc dot gnu.org
2023-02-20  8:44 ` burnus at gcc dot gnu.org [this message]
2023-05-29 10:06 ` [Bug fortran/104826] [11/12/13/14 Regression] ICE in gimple_range_global, at value-query.cc:424 – with deferred-length character variable jakub at gcc dot gnu.org

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=bug-104826-4-JVe7tYHUWP@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).