diff options
author | Jan Hubicka <jh@suse.cz> | 2009-04-27 01:35:27 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2009-04-26 23:35:27 +0000 |
commit | f87c904283c91ccb365e83a9fc1f7463265cdcf6 (patch) | |
tree | fa24152c68bb24d01ebfd5359eabb80b6d0be1a2 /gcc/cfgloop.h | |
parent | 33abd7188ed10fdc1a4b66a2208490fc58df041b (diff) | |
download | gcc-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.h | 1 |
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 */ |