aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgloop.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2009-04-27 01:35:27 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2009-04-26 23:35:27 +0000
commitf87c904283c91ccb365e83a9fc1f7463265cdcf6 (patch)
treefa24152c68bb24d01ebfd5359eabb80b6d0be1a2 /gcc/cfgloop.h
parent33abd7188ed10fdc1a4b66a2208490fc58df041b (diff)
downloadgcc-f87c904283c91ccb365e83a9fc1f7463265cdcf6.zip
gcc-f87c904283c91ccb365e83a9fc1f7463265cdcf6.tar.gz
gcc-f87c904283c91ccb365e83a9fc1f7463265cdcf6.tar.bz2
ipa-pure-const.c (struct funct_state_d): New fields state_previously_known, looping_previously_known...
* ipa-pure-const.c (struct funct_state_d): New fields state_previously_known, looping_previously_known; remove state_set_in_source. (analyze_function): Use new fields. (propagate): Avoid assumption that state_set_in_source imply nonlooping. * tree-ssa-loop-niter.c (finite_loop_p): New function. * tree-ssa-loop-ivcanon.c (empty_loop_p): Use it. * cfgloop.h (finite_loop_p): Declare. From-SVN: r146821
Diffstat (limited to 'gcc/cfgloop.h')
-rw-r--r--gcc/cfgloop.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h
index d95e50d..fe0120e 100644
--- a/gcc/cfgloop.h
+++ b/gcc/cfgloop.h
@@ -640,5 +640,6 @@ enum
extern void unroll_and_peel_loops (int);
extern void doloop_optimize_loops (void);
extern void move_loop_invariants (void);
+extern bool finite_loop_p (struct loop *);
#endif /* GCC_CFGLOOP_H */