summaryrefslogtreecommitdiff
path: root/gcc/cfgloopmanip.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2006-01-20 09:38:56 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2006-01-20 09:38:56 +0000
commitc11fd0b2064f7a896ed5e958712092ff83232086 (patch)
treee3c7863046f66df41bd3cc06f2b008a5df43f8c3 /gcc/cfgloopmanip.c
parent74ac79fa800af6de648e984cc5576c20b817839d (diff)
downloadgcc-c11fd0b2064f7a896ed5e958712092ff83232086.tar.gz
re PR rtl-optimization/24626 (internal compiler error: verify_flow_info failed)
2006-01-20 Richard Guenther <rguenther@suse.de> Steven Bosscher <stevenb.gcc@gmail.com> 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 <mustafa@il.ibm.com> * 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 <stevenb.gcc@gmail.com> From-SVN: r110020
Diffstat (limited to 'gcc/cfgloopmanip.c')
-rw-r--r--gcc/cfgloopmanip.c2
1 files changed, 1 insertions, 1 deletions
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);