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: update_stmt_if_modified -> update_stmt
Date: Thu,  2 Mar 2023 12:13:35 +0000 (GMT)	[thread overview]
Message-ID: <20230302121335.F02EB385841C@sourceware.org> (raw)

https://gcc.gnu.org/g:b109401e7a978456f33c224b87613010adc20f1e

commit b109401e7a978456f33c224b87613010adc20f1e
Author: Filip Kastl <filip.kastl@gmail.com>
Date:   Wed Mar 1 15:26:24 2023 +0100

    cleanup_after_replace: update_stmt_if_modified -> update_stmt

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

diff --git a/gcc/tree-ssa-propagate.cc b/gcc/tree-ssa-propagate.cc
index 885839b26b4..3e95863695d 100644
--- a/gcc/tree-ssa-propagate.cc
+++ b/gcc/tree-ssa-propagate.cc
@@ -1316,7 +1316,8 @@ cleanup_after_replace (gimple *old_stmt, gimple *stmt, bitmap need_eh_cleanup,
 	recompute_tree_invariant_for_addr_expr (rhs);
     }
 
-  update_stmt_if_modified (stmt);
+  //update_stmt_if_modified (stmt); TODO
+  update_stmt (stmt);
 }
 
 /* TODO Comment.  */

                 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=20230302121335.F02EB385841C@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).