public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/106421] [10/11/12/13 Regression] ICE with computed goto from a nested functon
Date: Tue, 10 Jan 2023 14:07:21 +0000	[thread overview]
Message-ID: <bug-106421-4-EEKudwqOOC@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-106421-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Roger Sayle <sayle@gcc.gnu.org>:

https://gcc.gnu.org/g:851e1ba03f9de699a754dd8648fc151c3e26d697

commit r13-5091-g851e1ba03f9de699a754dd8648fc151c3e26d697
Author: Roger Sayle <roger@nextmovesoftware.com>
Date:   Tue Jan 10 14:05:46 2023 +0000

    PR rtl-optimization/106421: ICE in bypass_block from non-local goto.

    This patch fixes PR rtl-optimization/106421, an ICE-on-valid (but
    undefined) regression.  The fix, as proposed by Richard Biener, is to
    defend against BLOCK_FOR_INSN returning NULL in cprop's bypass_block.

    2023-01-10  Roger Sayle  <roger@nextmovesoftware.com>

    gcc/ChangeLog
            PR rtl-optimization/106421
            * cprop.cc (bypass_block): Check that DEST is local to this
            function (non-NULL) before calling find_edge.

    gcc/testsuite/ChangeLog
            PR rtl-optimization/106421
            * gcc.dg/pr106421.c: New test case.

  parent reply	other threads:[~2023-01-10 14:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-23 10:58 [Bug middle-end/106421] New: " amonakov at gcc dot gnu.org
2022-07-24 20:19 ` [Bug middle-end/106421] " pinskia at gcc dot gnu.org
2022-07-24 20:22 ` [Bug rtl-optimization/106421] [10/11/12/13 Regression] " pinskia at gcc dot gnu.org
2022-07-24 20:23 ` pinskia at gcc dot gnu.org
2022-07-25  7:07 ` marxin at gcc dot gnu.org
2022-07-25  9:27 ` rguenth at gcc dot gnu.org
2022-07-25 14:57 ` rguenth at gcc dot gnu.org
2023-01-10 14:07 ` cvs-commit at gcc dot gnu.org [this message]
2023-04-27 13:19 ` [Bug rtl-optimization/106421] [10/11/12 " cvs-commit at gcc dot gnu.org
2023-07-07 10:43 ` [Bug rtl-optimization/106421] [11 " rguenth 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-106421-4-EEKudwqOOC@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).