aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-chrec.h
diff options
context:
space:
mode:
authorBin Cheng <bin.cheng@linux.alibaba.com>2019-04-08 11:52:18 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2019-04-08 11:52:18 +0000
commitd6366157deac0b526ce7ecfd2821745eecce06c8 (patch)
tree3042ff24ef928ab4c8b2ad26e74939b33f07787b /gcc/tree-chrec.h
parent145f764aae16c101baf41c815abe99353fcf797d (diff)
downloadgcc-d6366157deac0b526ce7ecfd2821745eecce06c8.zip
gcc-d6366157deac0b526ce7ecfd2821745eecce06c8.tar.gz
gcc-d6366157deac0b526ce7ecfd2821745eecce06c8.tar.bz2
re PR middle-end/89725 (ICE in get_fnname_from_decl, at varasm.c:1723)
2019-04-01 Bin Cheng <bin.cheng@linux.alibaba.com> PR tree-optimization/89725 * tree-chrec.c (chrec_contains_symbols): New parameter. Handle outer loop's chrec as invariant symbol. * tree-chrec.h (chrec_contains_symbols): New parameter. * tree-data-ref.c (analyze_miv_subscript): Pass new argument. (build_classic_dist_vector_1, add_other_self_distances): Bypass access function of loops not in DDR's loop_nest. * tree-data-ref.h (index_in_loop_nest): Add unreachable check. * gcc.dg/tree-ssa/pr89725.c: New test. From-SVN: r270203
Diffstat (limited to 'gcc/tree-chrec.h')
-rw-r--r--gcc/tree-chrec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-chrec.h b/gcc/tree-chrec.h
index 6c79322..258b5d5 100644
--- a/gcc/tree-chrec.h
+++ b/gcc/tree-chrec.h
@@ -80,7 +80,7 @@ extern bool convert_affine_scev (struct loop *, tree, tree *, tree *, gimple *,
/* Observers. */
extern bool eq_evolutions_p (const_tree, const_tree);
extern bool is_multivariate_chrec (const_tree);
-extern bool chrec_contains_symbols (const_tree);
+extern bool chrec_contains_symbols (const_tree, struct loop * = NULL);
extern bool chrec_contains_symbols_defined_in_loop (const_tree, unsigned);
extern bool chrec_contains_undetermined (const_tree);
extern bool tree_contains_chrecs (const_tree, int *);