aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-operands.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-ssa-operands.cc')
-rw-r--r--gcc/tree-ssa-operands.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-ssa-operands.cc b/gcc/tree-ssa-operands.cc
index 4915622..9e85998 100644
--- a/gcc/tree-ssa-operands.cc
+++ b/gcc/tree-ssa-operands.cc
@@ -30,6 +30,7 @@ along with GCC; see the file COPYING3. If not see
#include "stmt.h"
#include "print-tree.h"
#include "dumpfile.h"
+#include "value-query.h"
/* This file contains the code required to manage the operands cache of the
@@ -1146,6 +1147,8 @@ update_stmt_operands (struct function *fn, gimple *stmt)
gcc_assert (gimple_modified_p (stmt));
operands_scanner (fn, stmt).build_ssa_operands ();
gimple_set_modified (stmt, false);
+ // Inform the active range query an update has happened.
+ get_range_query (fn)->update_stmt (stmt);
timevar_pop (TV_TREE_OPS);
}