diff options
author | Jan Hubicka <hubicka@gcc.gnu.org> | 2010-06-11 15:10:27 +0000 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2010-06-11 15:10:27 +0000 |
commit | f6bcb591f71bf7a73393b402dcf955b9e843b4f2 (patch) | |
tree | d5207530e55bcd410854d2c2542bf38315cf4c67 /gcc/tree-cfgcleanup.c | |
parent | cff90044727d4ef002a4ad16dbbed230d00f7551 (diff) | |
download | gcc-f6bcb591f71bf7a73393b402dcf955b9e843b4f2.zip gcc-f6bcb591f71bf7a73393b402dcf955b9e843b4f2.tar.gz gcc-f6bcb591f71bf7a73393b402dcf955b9e843b4f2.tar.bz2 |
Revert accidental commit.
From-SVN: r160614
Diffstat (limited to 'gcc/tree-cfgcleanup.c')
-rw-r--r-- | gcc/tree-cfgcleanup.c | 18 |
1 files 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; |