public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Richard Biener <rguenth@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r13-5241] Revert "middle-end/108086 - avoid unshare_expr when remapping SSA names"
Date: Wed, 18 Jan 2023 13:57:47 +0000 (GMT)	[thread overview]
Message-ID: <20230118135747.394F23858028@sourceware.org> (raw)

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

commit r13-5241-gddbe758b1742699481886fffa2afe17c28ec5315
Author: Richard Biener <rguenther@suse.de>
Date:   Wed Jan 18 14:54:06 2023 +0100

    Revert "middle-end/108086 - avoid unshare_expr when remapping SSA names"
    
    This reverts commit da85bfc75024a92b97e60e4436863dd5789786ec.

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

diff --git a/gcc/tree-inline.cc b/gcc/tree-inline.cc
index 6cb298180bc..7fd08310acf 100644
--- a/gcc/tree-inline.cc
+++ b/gcc/tree-inline.cc
@@ -183,7 +183,7 @@ remap_ssa_name (tree name, copy_body_data *id)
 	  return name;
 	}
 
-      return *n;
+      return unshare_expr (*n);
     }
 
   if (processing_debug_stmt)

                 reply	other threads:[~2023-01-18 13:57 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=20230118135747.394F23858028@sourceware.org \
    --to=rguenth@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).