]> gcc.gnu.org Git - gcc.git/commitdiff
* cprop.c (local_cprop_pass): Don't set changed for debug insns.
authorAlexandre Oliva <aoliva@redhat.com>
Mon, 6 Jun 2011 13:40:09 +0000 (13:40 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Mon, 6 Jun 2011 13:40:09 +0000 (13:40 +0000)
From-SVN: r174700

gcc/ChangeLog
gcc/cprop.c

index c45fe7211b3a7a28627f3ef172cf544da2575f0b..a06eb75fc0f549dd2933d49752b9c9fe28c18e28 100644 (file)
@@ -1,3 +1,7 @@
+2011-06-06  Alexandre Oliva  <aoliva@redhat.com>
+
+       * cprop.c (local_cprop_pass): Don't set changed for debug insns.
+
 2011-06-06  Alexandre Oliva  <aoliva@redhat.com>
 
        * dce.c (reset_unmarked_insns_debug_uses): New.
index 24f4a84d561f74546980133f46f53315f2e72309..b7b17b19387f7b4c2b818c0228ed98cb72cfb601 100644 (file)
@@ -1223,7 +1223,8 @@ local_cprop_pass (void)
                    {
                      if (do_local_cprop (reg_use_table[i], insn))
                        {
-                         changed = true;
+                         if (!DEBUG_INSN_P (insn))
+                           changed = true;
                          break;
                        }
                    }
This page took 0.094102 seconds and 5 git commands to generate.