diff options
Diffstat (limited to 'gcc/tree-ssa-pre.c')
-rw-r--r-- | gcc/tree-ssa-pre.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index a364162ae36..3a3064d0aee 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -1653,7 +1653,7 @@ insert_aux (basic_block block) /* If all edges produce the same value and that value is an invariant, then the PHI has the same value on all edges. Note this. */ - else if (all_same && eprime + else if (!cant_insert && all_same && eprime && is_gimple_min_invariant (eprime) && !is_gimple_min_invariant (val)) { @@ -2170,7 +2170,7 @@ init_pre (bool do_fre) AVAIL_OUT (bb) = bitmap_set_new (); } - need_eh_cleanup = BITMAP_XMALLOC (); + need_eh_cleanup = BITMAP_ALLOC (NULL); } @@ -2208,7 +2208,7 @@ fini_pre (bool do_fre) cleanup_tree_cfg (); } - BITMAP_XFREE (need_eh_cleanup); + BITMAP_FREE (need_eh_cleanup); /* Wipe out pointers to VALUE_HANDLEs. In the not terribly distant future we will want them to be persistent though. */ |