aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2006-01-23 10:06:22 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2006-01-23 10:06:22 +0000
commit766613a498484f30261c242d38bb935bfad6628f (patch)
tree8b5f6365bfe1116ca8d35045b11d5a0917a31eef /gcc
parentd239ed56aba8ec4d6d91d77fedecbc1674a2d3b7 (diff)
downloadgcc-766613a498484f30261c242d38bb935bfad6628f.zip
gcc-766613a498484f30261c242d38bb935bfad6628f.tar.gz
gcc-766613a498484f30261c242d38bb935bfad6628f.tar.bz2
cfgloopmanip.c (lv_adjust_loop_entry_edge): Add comment before make_edge with conditional EDGE_TRUE_VALUE.
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. From-SVN: r110113
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cfgloopmanip.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d1b92c8..b040223 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2006-01-23 Steven Bosscher <stevenb.gcc@gmail.com>
Jan Hubicka <jh@suse.cz>
Richard Guenther <rguenther@suse.de>
diff --git a/gcc/cfgloopmanip.c b/gcc/cfgloopmanip.c
index 7d18231..6a27d34 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);