From c11fd0b2064f7a896ed5e958712092ff83232086 Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Fri, 20 Jan 2006 09:38:56 +0000 Subject: re PR rtl-optimization/24626 (internal compiler error: verify_flow_info failed) 2006-01-20 Richard Guenther Steven Bosscher PR rtl-optimization/24626 * cfgloopmanip.c (lv_adjust_loop_entry_edge): Don't set EDGE_TRUE_VALUE if in RTL mode. Revert 2005-03-30 Mostafa Hagog * cfgrtl.c (rtl_verify_flow_info_1): Fix. * gcc.dg/torture/pr24626-1.c: New testcase. * gcc.dg/torture/pr24626-2.c: Likewise. * gcc.dg/torture/pr24626-3.c: Likewise. * gcc.dg/torture/pr24626-4.c: Likewise. Co-Authored-By: Steven Bosscher From-SVN: r110020 --- gcc/cfgloopmanip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/cfgloopmanip.c') diff --git a/gcc/cfgloopmanip.c b/gcc/cfgloopmanip.c index cfc11e0f62e..7d182314dd3 100644 --- a/gcc/cfgloopmanip.c +++ b/gcc/cfgloopmanip.c @@ -1419,7 +1419,7 @@ lv_adjust_loop_entry_edge (basic_block first_head, lv_add_condition_to_bb (first_head, second_head, new_head, cond_expr); - e1 = make_edge (new_head, first_head, EDGE_TRUE_VALUE); + e1 = make_edge (new_head, first_head, ir_type () ? EDGE_TRUE_VALUE : 0); set_immediate_dominator (CDI_DOMINATORS, first_head, new_head); set_immediate_dominator (CDI_DOMINATORS, second_head, new_head); -- cgit v1.2.1