diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-25 07:25:06 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-25 07:25:06 +0000 |
commit | 91ef7ecbf2d033bdb7157dd184c98a67f90d83f0 (patch) | |
tree | 8f400171281f1971daae0f4f3bac980e43bf1e0e /gcc/cfg.c | |
parent | d36998eecf9b89a152d653af2652ba8cb4349485 (diff) | |
download | ppe42-gcc-91ef7ecbf2d033bdb7157dd184c98a67f90d83f0.tar.gz ppe42-gcc-91ef7ecbf2d033bdb7157dd184c98a67f90d83f0.zip |
* basic-block.h (BB_SET_PARTITION): Clear old value first.
* cfg.c (clear_bb_flags): Don't clear partition setting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86537 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfg.c')
-rw-r--r-- | gcc/cfg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cfg.c b/gcc/cfg.c index d195b10cd4e..003d09e05ff 100644 --- a/gcc/cfg.c +++ b/gcc/cfg.c @@ -462,13 +462,14 @@ redirect_edge_pred (edge e, basic_block new_pred) e->src = new_pred; } +/* Clear all basic block flags, with the exception of partitioning. */ void clear_bb_flags (void) { basic_block bb; FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, NULL, next_bb) - bb->flags = 0; + bb->flags = BB_PARTITION (bb); } /* Check the consistency of profile information. We can't do that |