public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-73] Remove senseless store in do_sd_constraint
@ 2023-04-19 12:15 Richard Biener
  0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2023-04-19 12:15 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:9d218c45e318dcec04312f1d4a14c6ff904404e1

commit r14-73-g9d218c45e318dcec04312f1d4a14c6ff904404e1
Author: Richard Biener <rguenther@suse.de>
Date:   Tue Mar 14 14:42:10 2023 +0100

    Remove senseless store in do_sd_constraint
    
            * tree-ssa-structalias.cc (do_sd_constraint): Do not write
            to the LHS varinfo solution member.

Diff:
---
 gcc/tree-ssa-structalias.cc | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/gcc/tree-ssa-structalias.cc b/gcc/tree-ssa-structalias.cc
index 8976cc9c2f8..89027ab573d 100644
--- a/gcc/tree-ssa-structalias.cc
+++ b/gcc/tree-ssa-structalias.cc
@@ -1724,10 +1724,7 @@ do_sd_constraint (constraint_graph_t graph, constraint_t c,
 done:
   /* If the LHS solution changed, mark the var as changed.  */
   if (flag)
-    {
-      get_varinfo (lhs)->solution = sol;
-      bitmap_set_bit (changed, lhs);
-    }
+    bitmap_set_bit (changed, lhs);
 }
 
 /* Process a constraint C that represents *(x + off) = y using DELTA

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

only message in thread, other threads:[~2023-04-19 12:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-19 12:15 [gcc r14-73] Remove senseless store in do_sd_constraint Richard Biener

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