From 58e57324d5dc7f14785a9026f1cf1083455365f1 Mon Sep 17 00:00:00 2001 From: hubicka Date: Fri, 11 Jun 2010 15:10:27 +0000 Subject: [PATCH] Revert accidental commit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160614 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/tree-cfgcleanup.c | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/gcc/tree-cfgcleanup.c b/gcc/tree-cfgcleanup.c index 8dec8c7..fc2141f 100644 --- a/gcc/tree-cfgcleanup.c +++ b/gcc/tree-cfgcleanup.c @@ -568,23 +568,9 @@ fixup_noreturn_call (gimple stmt) imm_use_iterator iter; gimple use_stmt; - /* All statements using the OP are unreachable or PHI - statements where the edge correspoing to OP use is unreachable. - We need to remove all normal statements so fixup_cfg will not - try to update them and keep all PHIs but remove use of the SSA - name or verifier will complain. */ FOR_EACH_IMM_USE_STMT (use_stmt, iter, op) - { - if (gimple_code (use_stmt) == GIMPLE_PHI) - FOR_EACH_IMM_USE_ON_STMT (use_p, iter) - SET_USE (use_p, error_mark_node); - else - { - gimple_stmt_iterator gsi = gsi_for_stmt (use_stmt); - gsi_remove (&gsi, true); - } - } - release_ssa_name (op); + FOR_EACH_IMM_USE_ON_STMT (use_p, iter) + SET_USE (use_p, error_mark_node); } update_stmt (stmt); changed = true; -- 2.7.4