diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-20 09:38:56 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-20 09:38:56 +0000 |
commit | 8345ac1a0c768dd932f2f48e15352859b1264e93 (patch) | |
tree | e3c7863046f66df41bd3cc06f2b008a5df43f8c3 /gcc/cfgloopmanip.c | |
parent | 50247dd938763df581825bd0d2a09fc39fbe8d85 (diff) | |
download | gcc-8345ac1a0c768dd932f2f48e15352859b1264e93.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110020 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgloopmanip.c')
-rw-r--r-- | gcc/cfgloopmanip.c | 2 |
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); |