]> gcc.gnu.org Git - gcc.git/commitdiff
cfg.c (disconnect_src): Do df_mark_solutions_dirty in the right place.
authorSteven Bosscher <steven@gcc.gnu.org>
Fri, 27 Apr 2012 11:12:52 +0000 (11:12 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Fri, 27 Apr 2012 11:12:52 +0000 (11:12 +0000)
* cfg.c (disconnect_src): Do df_mark_solutions_dirty in the right
place.

From-SVN: r186902

gcc/ChangeLog
gcc/cfg.c

index f4c19ea566bee68333ad50dd3e30f3b3ffcc2e91..9a106110de4203f99e103acbf37348c858914843 100644 (file)
@@ -1,5 +1,8 @@
 2012-04-27  Steven Bosscher  <steven@gcc.gnu.org>
 
+       * cfg.c (disconnect_src): Do df_mark_solutions_dirty in the right
+       place.
+
        * tree-switch-conversion.c (struct switch_conv_info): Add range_max,
        reorganize some fields and update comments.  Rename bit_test_uniq
        and bit_test_count to uniq resp. count.  Remove bit_test_bb.
index ca04c94770e71f2c789e60aa85ffc7ca2e31271e..ba85b1690592396857b3331c306897ae505d9bbd 100644 (file)
--- a/gcc/cfg.c
+++ b/gcc/cfg.c
@@ -242,13 +242,13 @@ disconnect_src (edge e)
       if (tmp == e)
        {
          VEC_unordered_remove (edge, src->succs, ei.index);
+         df_mark_solutions_dirty ();
          return;
        }
       else
        ei_next (&ei);
     }
 
-  df_mark_solutions_dirty ();
   gcc_unreachable ();
 }
 
This page took 0.070854 seconds and 5 git commands to generate.