aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2002-05-23 08:22:05 -0700
committerDavid S. Miller <davem@gcc.gnu.org>2002-05-23 08:22:05 -0700
commit9547983155087b81454e9149ad37c2945f8137b9 (patch)
tree40fccab8e687849f2b4ac8156c613c1dd0531a4a /gcc/except.c
parenta97d1398381199317a5627d7a24e407284ef1e2e (diff)
downloadgcc-9547983155087b81454e9149ad37c2945f8137b9.zip
gcc-9547983155087b81454e9149ad37c2945f8137b9.tar.gz
gcc-9547983155087b81454e9149ad37c2945f8137b9.tar.bz2
basic-block.h (CLEANUP_NO_INSN_DEL): Define it.
2002-05-23 David S. Miller <davem@redhat.com> * basic-block.h (CLEANUP_NO_INSN_DEL): Define it. * cfgcleanup.c (cleanup_cfg): If it is set do not attempt to delete trivially dead insns. * except.c (finish_eh_generation): Pass it to cleanup_cfg. * toplev.c (rest_of_compilation): Document non-trivial aspect the RTL before optimize_save_area_alloca is run. From-SVN: r53789
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/except.c b/gcc/except.c
index e1f32a5..ee6ee9f 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -2501,7 +2501,7 @@ finish_eh_generation ()
rebuild_jump_labels (get_insns ());
find_basic_blocks (get_insns (), max_reg_num (), 0);
- cleanup_cfg (CLEANUP_PRE_LOOP);
+ cleanup_cfg (CLEANUP_PRE_LOOP | CLEANUP_NO_INSN_DEL);
/* These registers are used by the landing pads. Make sure they
have been generated. */
@@ -2524,7 +2524,7 @@ finish_eh_generation ()
find_exception_handler_labels ();
rebuild_jump_labels (get_insns ());
find_basic_blocks (get_insns (), max_reg_num (), 0);
- cleanup_cfg (CLEANUP_PRE_LOOP);
+ cleanup_cfg (CLEANUP_PRE_LOOP | CLEANUP_NO_INSN_DEL);
}
static hashval_t