summaryrefslogtreecommitdiff
path: root/gcc/tree-chrec.h
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-04-12 11:38:47 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-04-12 11:38:47 +0000
commit06a9142d1989f94d9ee052756c2558a139193f6d (patch)
tree309556804f1e89c251beb3a6c838fd3141487079 /gcc/tree-chrec.h
parentb0b097b4dcb8d6b300e8c5f5101741dd1d9a2540 (diff)
downloadgcc-06a9142d1989f94d9ee052756c2558a139193f6d.tar.gz
2012-04-12 Richard Guenther <rguenther@suse.de>
PR tree-optimization/52943 * tree-chrec.h (chrec_is_positive): Remove. * tree-scalar-evolution.c (chrec_is_positive): Move ... * tree-data-ref.c (chrec_is_positive): ... here. Make static. Return false for a constant zero instead of negative. (analyze_siv_subscript_cst_affine): Handle zero difference in the initial condition explicitely. * gcc.dg/torture/pr52943.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186374 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-chrec.h')
-rw-r--r--gcc/tree-chrec.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/tree-chrec.h b/gcc/tree-chrec.h
index bf9bff0f999..83678026752 100644
--- a/gcc/tree-chrec.h
+++ b/gcc/tree-chrec.h
@@ -77,7 +77,6 @@ extern void for_each_scev_op (tree *, bool (*) (tree *, void *), void *);
/* Observers. */
extern bool eq_evolutions_p (const_tree, const_tree);
extern bool is_multivariate_chrec (const_tree);
-extern bool chrec_is_positive (tree, bool *);
extern bool chrec_contains_symbols (const_tree);
extern bool chrec_contains_symbols_defined_in_loop (const_tree, unsigned);
extern bool chrec_contains_undetermined (const_tree);