OSDN Git Service

* regcprop.c (copyprop_hardreg_forward_1): Don't call df_insn_rescan.
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Feb 2010 10:51:15 +0000 (10:51 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Feb 2010 10:51:15 +0000 (10:51 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157033 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/regcprop.c

index 9298c2e..a9f032e 100644 (file)
@@ -1,5 +1,7 @@
 2010-02-24  Jakub Jelinek  <jakub@redhat.com>
 
+       * regcprop.c (copyprop_hardreg_forward_1): Don't call df_insn_rescan.
+
        PR debug/43150
        * gimplify.c (gimplify_type_sizes): Clear DECL_IGNORED_P for VLA
        bounds even for -O+.
index 199ff29..609a06d 100644 (file)
@@ -1,6 +1,6 @@
 /* Copy propagation on hard registers for the GNU compiler.
-   Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
-   Free Software Foundation, Inc.
+   Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
+   2010  Free Software Foundation, Inc.
 
    This file is part of GCC.
 
@@ -650,7 +650,6 @@ copyprop_hardreg_forward_1 (basic_block bb, struct value_data *vd)
                {
                  changed = apply_change_group ();
                  gcc_assert (changed);
-                 df_insn_rescan (insn);
                  anything_changed = true;
                }
            }
@@ -842,10 +841,7 @@ copyprop_hardreg_forward_1 (basic_block bb, struct value_data *vd)
 
     did_replacement:
       if (changed)
-       {
-         df_insn_rescan (insn);
-         anything_changed = true;
-       }
+       anything_changed = true;
 
       /* Clobber call-clobbered registers.  */
       if (CALL_P (insn))