diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2022-11-22 10:24:06 +0100 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2022-11-24 07:38:27 +0100 |
commit | 42639a36bf2983d4a5adb02f3ab7e8c4bd1023c7 (patch) | |
tree | 6af45986512fe1e4e2a34df14712b966656981b1 /gcc/tree.def | |
parent | a3f7deefd45a018ffc56ad3fb944a9f715b50901 (diff) | |
download | gcc-42639a36bf2983d4a5adb02f3ab7e8c4bd1023c7.zip gcc-42639a36bf2983d4a5adb02f3ab7e8c4bd1023c7.tar.gz gcc-42639a36bf2983d4a5adb02f3ab7e8c4bd1023c7.tar.bz2 |
Remove ASSERT_EXPR.
This removes all uses of ASSERT_EXPR except the internal one in ipa-*.
gcc/ChangeLog:
* doc/gimple.texi: Remove ASSERT_EXPR references.
* fold-const.cc (tree_expr_nonzero_warnv_p): Same.
(fold_binary_loc): Same.
(tree_expr_nonnegative_warnv_p): Same.
* gimple-array-bounds.cc (get_base_decl): Same.
* gimple-pretty-print.cc (dump_unary_rhs): Same.
* gimple.cc (get_gimple_rhs_num_ops): Same.
* pointer-query.cc (handle_ssa_name): Same.
* tree-cfg.cc (verify_gimple_assign_single): Same.
* tree-pretty-print.cc (dump_generic_node): Same.
* tree-scalar-evolution.cc (scev_dfs::follow_ssa_edge_expr):Same.
(interpret_rhs_expr): Same.
* tree-ssa-operands.cc (operands_scanner::get_expr_operands): Same.
* tree-ssa-propagate.cc
(substitute_and_fold_dom_walker::before_dom_children): Same.
* tree-ssa-threadedge.cc: Same.
* tree-vrp.cc (overflow_comparison_p): Same.
* tree.def (ASSERT_EXPR): Add note.
* tree.h (ASSERT_EXPR_VAR): Remove.
(ASSERT_EXPR_COND): Remove.
* vr-values.cc (simplify_using_ranges::vrp_visit_cond_stmt):
Remove comment.
Diffstat (limited to 'gcc/tree.def')
-rw-r--r-- | gcc/tree.def | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/tree.def b/gcc/tree.def index 62650b6..69783bd 100644 --- a/gcc/tree.def +++ b/gcc/tree.def @@ -1025,7 +1025,10 @@ DEFTREECODE (POLYNOMIAL_CHREC, "polynomial_chrec", tcc_expression, 2) Use the interface in tree-iterator.h to access this node. */ DEFTREECODE (STATEMENT_LIST, "statement_list", tcc_exceptional, 0) -/* Predicate assertion. Artificial expression generated by the optimizers +/* NOTE: This code is deprecated and should only be used internally by ipa* as + temporary construct. + + Predicate assertion. Artificial expression generated by the optimizers to keep track of predicate values. This expression may only appear on the RHS of assignments. |