diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-11-24 12:25:22 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-11-24 12:25:22 +0000 |
commit | 7465dbcda82f9a78067ef5992369db3ac9ad9420 (patch) | |
tree | e719b1da7d230192f4964664cd374d04f8b94006 /gcc/cfgloopmanip.h | |
parent | 8c4ae287ec3e291952cc8be2a28e2332ee46ff42 (diff) | |
download | gcc-7465dbcda82f9a78067ef5992369db3ac9ad9420.tar.gz |
2016-11-24 Richard Biener <rguenther@suse.de>
PR tree-optimization/71595
* cfgloopmanip.h (remove_path): Add irred_invalidated and
loop_closed_ssa_invalidated parameters, defaulted to NULL.
* cfgloopmanip.c (remove_path): Likewise, pass them along to
called functions. Only fix irred flags if the caller didn't
request state.
* tree-ssa-loop-ivcanon.c (unloop_loops): Use add_bb_to_loop.
(unloop_loops): Pass irred_invalidated and loop_closed_ssa_invalidated
to remove_path.
* gcc.dg/torture/pr71595.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@242835 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgloopmanip.h')
-rw-r--r-- | gcc/cfgloopmanip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgloopmanip.h b/gcc/cfgloopmanip.h index 0e7dc7aa617..5c4552c5c43 100644 --- a/gcc/cfgloopmanip.h +++ b/gcc/cfgloopmanip.h @@ -34,7 +34,7 @@ enum a complete peeling. */ extern edge mfb_kj_edge; -extern bool remove_path (edge); +extern bool remove_path (edge, bool * = NULL, bitmap = NULL); extern void place_new_loop (struct function *, struct loop *); extern void add_loop (struct loop *, struct loop *); extern void scale_loop_frequencies (struct loop *, int, int); |