diff options
author | Bernd Schmidt <bernds@redhat.com> | 2017-01-27 12:40:44 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2017-01-27 12:40:44 -0700 |
commit | 711ce021292b9aab917ec09e4bea39a35d78f67a (patch) | |
tree | ca7cde97f4490a97543164b3e3dafa8d30b47a09 /gcc/cprop.c | |
parent | d8321b33d3b2d74c90d70ebdddc57bd6c86361ee (diff) | |
download | gcc-711ce021292b9aab917ec09e4bea39a35d78f67a.zip gcc-711ce021292b9aab917ec09e4bea39a35d78f67a.tar.gz gcc-711ce021292b9aab917ec09e4bea39a35d78f67a.tar.bz2 |
re PR rtl-optimization/79194 (ICE in rtl_verify_bb_insns, at cfgrtl.c:2661 (error: flow control insn inside a basic block))
2017-01-27 Bernd Schmidt <bschmidt@redhat.com>
PR rtl-optimization/79194
* cprop.c (one_cprop_pass): Move deletion of code after unconditional
traps before call to bypass_conditional_jumps.
PR rtl-optimization/79194
* gcc.dg/torture/pr79194.c: New test.
From-SVN: r244993
Diffstat (limited to 'gcc/cprop.c')
-rw-r--r-- | gcc/cprop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cprop.c b/gcc/cprop.c index ae2f19d..f704a0d 100644 --- a/gcc/cprop.c +++ b/gcc/cprop.c @@ -1863,8 +1863,6 @@ one_cprop_pass (void) } } - changed |= bypass_conditional_jumps (); - while (!uncond_traps.is_empty ()) { rtx_insn *insn = uncond_traps.pop (); @@ -1873,6 +1871,8 @@ one_cprop_pass (void) emit_barrier_after_bb (to_split); } + changed |= bypass_conditional_jumps (); + FREE_REG_SET (reg_set_bitmap); free_cprop_mem (); } |