aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-range.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-12-05 09:21:35 +0100
committerRichard Biener <rguenther@suse.de>2023-12-06 08:24:35 +0100
commit52f8092f54cf338c19d44e06b35612d15c96faf4 (patch)
tree9d7be0809e908876708006a24b2f545d23157f2f /gcc/gimple-range.h
parent8a5ef148bbab3b5397e293cbc28f6d6ebc5bb596 (diff)
downloadgcc-52f8092f54cf338c19d44e06b35612d15c96faf4.zip
gcc-52f8092f54cf338c19d44e06b35612d15c96faf4.tar.gz
gcc-52f8092f54cf338c19d44e06b35612d15c96faf4.tar.bz2
tree-optimization/112843 - update_stmt doing wrong things
The following removes range_query::update_stmt and its single invocation from update_stmt_operands. That function is not supposed to look beyond the raw stmt contents of the passed stmt since there's no guarantee about the rest of the IL. PR tree-optimization/112843 * tree-ssa-operands.cc (update_stmt_operands): Do not call update_stmt from ranger. * value-query.h (range_query::update_stmt): Remove. * gimple-range.h (gimple_ranger::update_stmt): Likewise. * gimple-range.cc (gimple_ranger::update_stmt): Likewise.
Diffstat (limited to 'gcc/gimple-range.h')
-rw-r--r--gcc/gimple-range.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/gimple-range.h b/gcc/gimple-range.h
index 5807a2b..6b0835c 100644
--- a/gcc/gimple-range.h
+++ b/gcc/gimple-range.h
@@ -52,7 +52,6 @@ public:
virtual bool range_of_stmt (vrange &r, gimple *, tree name = NULL) override;
virtual bool range_of_expr (vrange &r, tree name, gimple * = NULL) override;
virtual bool range_on_edge (vrange &r, edge e, tree name) override;
- virtual void update_stmt (gimple *) override;
void range_on_entry (vrange &r, basic_block bb, tree name);
void range_on_exit (vrange &r, basic_block bb, tree name);
void export_global_ranges ();