diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2019-11-04 22:05:26 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2019-11-04 22:05:26 +0000 |
commit | 9ac6cb7eb016da3419f68cbd176769f6f10584bb (patch) | |
tree | f7673e03142ec8043f014c8c54937f9df55f68db /gcc/tree-vrp.h | |
parent | 74b6e216b0fc00579899ac65cb44aad9e892e344 (diff) | |
download | gcc-9ac6cb7eb016da3419f68cbd176769f6f10584bb.zip gcc-9ac6cb7eb016da3419f68cbd176769f6f10584bb.tar.gz gcc-9ac6cb7eb016da3419f68cbd176769f6f10584bb.tar.bz2 |
Remove handle_pointers argument from all the vrp_val*{min,max} functions.
Remove handle_pointers argument from all the vrp_val*{min,max} functions. Always
assume pointers should be handled.
From-SVN: r277796
Diffstat (limited to 'gcc/tree-vrp.h')
-rw-r--r-- | gcc/tree-vrp.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/tree-vrp.h b/gcc/tree-vrp.h index 1fde88fe..5cd9473 100644 --- a/gcc/tree-vrp.h +++ b/gcc/tree-vrp.h @@ -286,11 +286,11 @@ extern bool range_int_cst_p (const value_range_base *); extern int compare_values (tree, tree); extern int compare_values_warnv (tree, tree, bool *); extern int operand_less_p (tree, tree); -extern bool vrp_val_is_min (const_tree, bool handle_pointers = false); -extern bool vrp_val_is_max (const_tree, bool handle_pointers = false); +extern bool vrp_val_is_min (const_tree); +extern bool vrp_val_is_max (const_tree); -extern tree vrp_val_min (const_tree, bool handle_pointers = false); -extern tree vrp_val_max (const_tree, bool handle_pointers = false); +extern tree vrp_val_min (const_tree); +extern tree vrp_val_max (const_tree); void range_fold_unary_expr (value_range_base *, enum tree_code, tree type, const value_range_base *, tree op0_type); @@ -325,7 +325,7 @@ value_range_base::nonzero_p () const return (m_kind == VR_RANGE && TYPE_UNSIGNED (type ()) && integer_onep (m_min) - && vrp_val_is_max (m_max, true)); + && vrp_val_is_max (m_max)); } /* Return TRUE if *VR includes the value zero. */ |