summaryrefslogtreecommitdiff
path: root/gcc/cfgloopmanip.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-23 10:06:22 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-23 10:06:22 +0000
commited49ee5b001a3ece636665d97fddb1c3e21bf104 (patch)
tree8b5f6365bfe1116ca8d35045b11d5a0917a31eef /gcc/cfgloopmanip.c
parent7a8ef311fcaec08ff95d901d0deeb539af0815af (diff)
downloadgcc-ed49ee5b001a3ece636665d97fddb1c3e21bf104.tar.gz
2006-01-23 Richard Guenther <rguenther@suse.de>
* cfgloopmanip.c (lv_adjust_loop_entry_edge): Add comment before make_edge with conditional EDGE_TRUE_VALUE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110113 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgloopmanip.c')
-rw-r--r--gcc/cfgloopmanip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cfgloopmanip.c b/gcc/cfgloopmanip.c
index 7d182314dd3..6a27d34a04e 100644
--- a/gcc/cfgloopmanip.c
+++ b/gcc/cfgloopmanip.c
@@ -1419,6 +1419,7 @@ lv_adjust_loop_entry_edge (basic_block first_head,
lv_add_condition_to_bb (first_head, second_head, new_head,
cond_expr);
+ /* Don't set EDGE_TRUE_VALUE in RTL mode, as it's invalid there. */
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);