]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
cfgloopmanip.c (lv_adjust_loop_entry_edge): Add comment before make_edge with conditi...
authorRichard Guenther <rguenther@suse.de>
Mon, 23 Jan 2006 10:06:22 +0000 (10:06 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 23 Jan 2006 10:06:22 +0000 (10:06 +0000)
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

gcc/ChangeLog
gcc/cfgloopmanip.c

index d1b92c8489f45b68c7a36fcde4f695072b271b65..b040223024ec8814bbd7da4e6abb522ca55a0915 100644 (file)
@@ -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>
index 7d182314dd343358a56b22786d045e62b0b710bb..6a27d34a04ec6367db380fac99d7d714876f4920 100644 (file)
@@ -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);