OSDN Git Service

2012-03-27 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / init-regs.c
index 273ab97..594b6e6 100644 (file)
@@ -1,4 +1,4 @@
-/* Initialization of uninitialized regs. 
+/* Initialization of uninitialized regs.
    Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
 
 This file is part of GCC.
@@ -70,7 +70,7 @@ initialize_uninitialized_regs (void)
        {
          unsigned int uid = INSN_UID (insn);
          df_ref *use_rec;
-         if (!INSN_P (insn))
+         if (!NONDEBUG_INSN_P (insn))
            continue;
 
          for (use_rec = DF_INSN_UID_USES (uid); *use_rec; use_rec++)
@@ -99,7 +99,7 @@ initialize_uninitialized_regs (void)
                  rtx move_insn;
                  rtx reg = DF_REF_REAL_REG (use);
 
-                 bitmap_set_bit (already_genned, regno); 
+                 bitmap_set_bit (already_genned, regno);
 
                  start_sequence ();
                  emit_move_insn (reg, CONST0_RTX (GET_MODE (reg)));
@@ -107,8 +107,8 @@ initialize_uninitialized_regs (void)
                  end_sequence ();
                  emit_insn_before (move_insn, insn);
                  if (dump_file)
-                   fprintf (dump_file, 
-                            "adding initialization in %s of reg %d at in block %d for insn %d.\n", 
+                   fprintf (dump_file,
+                            "adding initialization in %s of reg %d at in block %d for insn %d.\n",
                             current_function_name (), regno, bb->index, uid);
                }
            }
@@ -117,7 +117,7 @@ initialize_uninitialized_regs (void)
 
   if (optimize == 1)
     {
-      if (dump_file) 
+      if (dump_file)
        df_dump (dump_file);
       df_remove_problem (df_live);
     }
@@ -153,7 +153,6 @@ struct rtl_opt_pass pass_initialize_regs =
   0,                                    /* properties_provided */
   0,                                    /* properties_destroyed */
   0,                                    /* todo_flags_start */
-  TODO_dump_func |
   TODO_df_finish                        /* todo_flags_finish */
  }
 };