diff options
author | Alexander Monakov <amonakov@ispras.ru> | 2010-12-24 17:19:23 +0300 |
---|---|---|
committer | Alexander Monakov <amonakov@gcc.gnu.org> | 2010-12-24 17:19:23 +0300 |
commit | eb277bf19cea73ab2ca031fdb650013d666529f6 (patch) | |
tree | b24772c1516cd7beda2445712e3eb95b215c1519 /gcc/sel-sched-ir.c | |
parent | 07818af47b961b903aee005f6771e14730d3e003 (diff) | |
download | gcc-eb277bf19cea73ab2ca031fdb650013d666529f6.tar.gz |
re PR rtl-optimization/47036 (ICE: in move_cond_jump, at sel-sched.c:4901 with -fschedule-insns -fselective-scheduling -fno-dce)
PR rtl-optimization/47036
* sel-sched-ir.c (fallthru_bb_of_jump): Remove special support for
unconditional jumps.
* sel-sched.c (moveup_expr): Ditto.
testsuite:
* g++.dg/opt/pr47036.C: New.
From-SVN: r168225
Diffstat (limited to 'gcc/sel-sched-ir.c')
-rw-r--r-- | gcc/sel-sched-ir.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/sel-sched-ir.c b/gcc/sel-sched-ir.c index 43619d9dac4..b88dad1b3f6 100644 --- a/gcc/sel-sched-ir.c +++ b/gcc/sel-sched-ir.c @@ -4441,9 +4441,6 @@ fallthru_bb_of_jump (rtx jump) if (!JUMP_P (jump)) return NULL; - if (any_uncondjump_p (jump)) - return single_succ (BLOCK_FOR_INSN (jump)); - if (!any_condjump_p (jump)) return NULL; |