aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@gcc.gnu.org>2009-06-30 14:57:54 +0000
committerJan Hubicka <hubicka@gcc.gnu.org>2009-06-30 14:57:54 +0000
commitca89096d931f77c58dc19bce88e2a2eff04df6da (patch)
treee20e308a9d7f7d50807b4ce224b83aaad463eec3 /gcc/tree-cfg.c
parent2de58650f962e371b06f00bdefd0b01b5f7e3f6a (diff)
downloadgcc-ca89096d931f77c58dc19bce88e2a2eff04df6da.zip
gcc-ca89096d931f77c58dc19bce88e2a2eff04df6da.tar.gz
gcc-ca89096d931f77c58dc19bce88e2a2eff04df6da.tar.bz2
Revert accidental commit.
From-SVN: r149102
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r--gcc/tree-cfg.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index 049dd1d..4c7c0db 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -5131,17 +5131,8 @@ gimple_move_block_after (basic_block bb, basic_block after)
/* Return true if basic_block can be duplicated. */
static bool
-gimple_can_duplicate_bb_p (const_basic_block bb)
+gimple_can_duplicate_bb_p (const_basic_block bb ATTRIBUTE_UNUSED)
{
- gimple_stmt_iterator gsi = gsi_last_bb (bb);
-
- /* RTL expander has quite artificial limitation to at most one RESX instruction
- per region. It can be fixed by turning 1-1 map to 1-many map, but since the
- code needs to be rewritten to gimple level lowering and there is little reason
- for duplicating RESX instructions in order to optimize code performance, we
- just disallow it for the moment. */
- if (!gsi_end_p (gsi) && gimple_code (gsi_stmt (gsi)) == GIMPLE_RESX)
- return false;
return true;
}