OSDN Git Service

Don't search DEBUG_INSNs for removable zero extends.
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Jun 2010 15:33:21 +0000 (15:33 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Jun 2010 15:33:21 +0000 (15:33 +0000)
2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>

PR rtl-optimization/44326
* implicit-zee.c (find_removable_zero_extends): Replace
INSN_P with NONDEBUG_INSN_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161389 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/implicit-zee.c

index f64b969..a1bc891 100644 (file)
@@ -1,3 +1,9 @@
+2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR rtl-optimization/44326
+       * implicit-zee.c (find_removable_zero_extends): Replace
+       INSN_P with NONDEBUG_INSN_P.
+
 2010-06-25  Martin Jambor  <mjambor@suse.cz>
 
        * ipa-prop.h (struct ipa_param_descriptor): Removed the modified flag.
index 3344d7f..46029cd 100644 (file)
@@ -858,7 +858,7 @@ find_removable_zero_extends (void)
     {
       FOR_BB_INSNS (curr_block, curr_insn)
         {
-          if (!INSN_P (curr_insn))
+          if (!NONDEBUG_INSN_P (curr_insn))
             continue;
 
           type = for_each_rtx (&PATTERN (curr_insn),