diff options
Diffstat (limited to 'gcc/tree-chrec.h')
-rw-r--r-- | gcc/tree-chrec.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/tree-chrec.h b/gcc/tree-chrec.h index a3e219086d2..36b87ff541a 100644 --- a/gcc/tree-chrec.h +++ b/gcc/tree-chrec.h @@ -87,7 +87,8 @@ extern bool chrec_is_positive (tree, bool *); extern bool chrec_contains_symbols (tree); extern bool chrec_contains_symbols_defined_in_loop (tree, unsigned); extern bool chrec_contains_undetermined (tree); -extern bool tree_contains_chrecs (tree); +/* APPLE LOCAL mainline 4080945/ PR 20742 */ +extern bool tree_contains_chrecs (tree, int *); extern bool evolution_function_is_affine_multivariate_p (tree); extern bool evolution_function_is_univariate_p (tree); extern unsigned nb_vars_in_chrec (tree); @@ -183,7 +184,8 @@ evolution_function_is_affine_or_constant_p (tree chrec) static inline bool tree_does_not_contain_chrecs (tree expr) { - return !tree_contains_chrecs (expr); +/* APPLE LOCAL mainline 4080945/ PR 20742 */ + return !tree_contains_chrecs (expr, NULL); } /* Determines whether CHREC is a loop invariant with respect to LOOP_NUM. |