diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2022-02-23 12:25:20 -0500 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2022-05-13 09:49:14 -0400 |
commit | 602a3161f425ee3fe325413eeab9792e8e07a2ff (patch) | |
tree | 8c53e1400b9827d74487893bfa80e6e80d06e0c3 /gcc | |
parent | 6b156044c12bc4582511fe270b10450c943476dd (diff) | |
download | gcc-602a3161f425ee3fe325413eeab9792e8e07a2ff.zip gcc-602a3161f425ee3fe325413eeab9792e8e07a2ff.tar.gz gcc-602a3161f425ee3fe325413eeab9792e8e07a2ff.tar.bz2 |
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/value-relation.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/value-relation.cc b/gcc/value-relation.cc index 077ab42..db2db33 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. |