OSDN Git Service

2010-09-09 Tobias Burnus <burnus@net-b.de>
[pf3gnuchains/gcc-fork.git] / gcc / init-regs.c
index 791b926..b4dd5e9 100644 (file)
@@ -1,5 +1,5 @@
-/* Initialization of uninitialized regs. 
-   Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+/* 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);
     }
@@ -148,7 +148,7 @@ struct rtl_opt_pass pass_initialize_regs =
   NULL,                                 /* sub */
   NULL,                                 /* next */
   0,                                    /* static_pass_number */
-  0,                                    /* tv_id */
+  TV_NONE,                              /* tv_id */
   0,                                    /* properties_required */
   0,                                    /* properties_provided */
   0,                                    /* properties_destroyed */