public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/pheeck/heads/sccp)] cleanup_after_replace: old_stmt->bb change to stmt->bb
@ 2023-03-02 12:13 Filip Kastl
  0 siblings, 0 replies; only message in thread
From: Filip Kastl @ 2023-03-02 12:13 UTC (permalink / raw)
  To: gcc-cvs

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-02 12:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-02 12:13 [gcc(refs/users/pheeck/heads/sccp)] cleanup_after_replace: old_stmt->bb change to stmt->bb Filip Kastl

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