public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Filip Kastl <pheeck@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc(refs/users/pheeck/heads/sccp)] cleanup_after_replace: old_stmt->bb change to stmt->bb
Date: Thu,  2 Mar 2023 12:13:25 +0000 (GMT)	[thread overview]
Message-ID: <20230302121325.CA8F1385842A@sourceware.org> (raw)

https://gcc.gnu.org/g:4900f66fec6385f670a4fa5d2ab10849ffe51c1b

commit 4900f66fec6385f670a4fa5d2ab10849ffe51c1b
Author: Filip Kastl <filip.kastl@gmail.com>
Date:   Tue Feb 28 13:14:38 2023 +0100

    cleanup_after_replace: old_stmt->bb change to stmt->bb

Diff:
---
 gcc/tree-ssa-propagate.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/tree-ssa-propagate.cc b/gcc/tree-ssa-propagate.cc
index 01e125bb873..885839b26b4 100644
--- a/gcc/tree-ssa-propagate.cc
+++ b/gcc/tree-ssa-propagate.cc
@@ -1288,7 +1288,7 @@ cleanup_after_replace (gimple *old_stmt, gimple *stmt, bitmap need_eh_cleanup,
 		       bitmap need_ab_cleanup, vec<gimple *> stmts_to_fixup,
 		       bool can_make_abnormal_goto, bool was_noreturn)
 {
-  basic_block bb = old_stmt->bb;
+  basic_block bb = stmt->bb;
 
   /* If we cleaned up EH information from the statement,
      remove EH edges.  */

                 reply	other threads:[~2023-03-02 12:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20230302121325.CA8F1385842A@sourceware.org \
    --to=pheeck@gcc.gnu.org \
    --cc=gcc-cvs@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).