public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-435] Clear killing defs when resetting the path in path_oracle.
@ 2022-05-13 13:51 Andrew Macleod
  0 siblings, 0 replies; only message in thread
From: Andrew Macleod @ 2022-05-13 13:51 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:602a3161f425ee3fe325413eeab9792e8e07a2ff

commit r13-435-g602a3161f425ee3fe325413eeab9792e8e07a2ff
Author: Andrew MacLeod <amacleod@redhat.com>
Date:   Wed Feb 23 12:25:20 2022 -0500

    Clear killing defs when resetting the path in path_oracle.
    
    When we reset the path oracle, we should clear the killing defs vector.
    
            * value-relation.cc (path_oracle::reset_path): Clear killing_defs.

Diff:
---
 gcc/value-relation.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/value-relation.cc b/gcc/value-relation.cc
index 077ab4230a7..db2db33feb4 100644
--- a/gcc/value-relation.cc
+++ b/gcc/value-relation.cc
@@ -1459,6 +1459,7 @@ path_oracle::reset_path ()
   bitmap_clear (m_equiv.m_names);
   m_relations.m_head = NULL;
   bitmap_clear (m_relations.m_names);
+  bitmap_clear (m_killed_defs);
 }
 
 // Dump relation in basic block... Do nothing here.


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

only message in thread, other threads:[~2022-05-13 13:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-13 13:51 [gcc r13-435] Clear killing defs when resetting the path in path_oracle Andrew Macleod

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