From a85d87b20c607cdcb878901cee8535bdd35489d4 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Wed, 20 Dec 2017 12:56:12 +0000 Subject: poly_int: get_inner_reference_aff This patch makes get_inner_reference_aff return the size as a poly_widest_int rather than a widest_int. 2017-12-20 Richard Sandiford Alan Hayward David Sherwood gcc/ * tree-affine.h (get_inner_reference_aff): Return the size as a poly_widest_int. * tree-affine.c (get_inner_reference_aff): Likewise. * tree-data-ref.c (dr_may_alias_p): Update accordingly. * tree-ssa-loop-im.c (mem_refs_may_alias_p): Likewise. Co-Authored-By: Alan Hayward Co-Authored-By: David Sherwood From-SVN: r255891 --- gcc/tree-affine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/tree-affine.h') diff --git a/gcc/tree-affine.h b/gcc/tree-affine.h index d6802eb..d2140b7 100644 --- a/gcc/tree-affine.h +++ b/gcc/tree-affine.h @@ -80,7 +80,7 @@ bool aff_combination_constant_multiple_p (aff_tree *, aff_tree *, void aff_combination_expand (aff_tree *, hash_map **); void tree_to_aff_combination_expand (tree, tree, aff_tree *, hash_map **); -tree get_inner_reference_aff (tree, aff_tree *, widest_int *); +tree get_inner_reference_aff (tree, aff_tree *, poly_widest_int *); void free_affine_expand_cache (hash_map **); bool aff_comb_cannot_overlap_p (aff_tree *, const poly_widest_int &, const poly_widest_int &); -- cgit v1.1