gcc/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Jun 2007 07:05:23 +0000 (07:05 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Jun 2007 07:05:23 +0000 (07:05 +0000)
* df-problems.c (df_set_unused_notes_for_mw): Fix formatting.
(df_set_dead_notes_for_mw): Likewise.

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

gcc/ChangeLog
gcc/df-problems.c

index 082b207..2629c90 100644 (file)
@@ -1,3 +1,8 @@
+2007-06-29  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       * df-problems.c (df_set_unused_notes_for_mw): Fix formatting.
+       (df_set_dead_notes_for_mw): Likewise.
+
 2007-06-29  Eric Botcazou  <ebotcazou@adacore.com>
 
        * c-common.c (pointer_int_sum): Do the negation in sizetype.
index 6097908..f286f4f 100644 (file)
@@ -3757,11 +3757,10 @@ df_set_unused_notes_for_mw (rtx insn, rtx old, struct df_mw_hardreg *mws,
       /* Only do this if the value is totally dead.  */
     }
   else
-    for (r=mws->start_regno; r <= mws->end_regno; r++)
+    for (r = mws->start_regno; r <= mws->end_regno; r++)
       {
-       
-       if ((!bitmap_bit_p (live, r))
-           && (!bitmap_bit_p (artificial_uses, r)))
+       if (!bitmap_bit_p (live, r)
+           && !bitmap_bit_p (artificial_uses, r))
          {
            old = df_set_note (REG_UNUSED, insn, old, regno_reg_rtx[r]);
 #ifdef REG_DEAD_DEBUGGING
@@ -3823,17 +3822,15 @@ df_set_dead_notes_for_mw (rtx insn, rtx old, struct df_mw_hardreg *mws,
   else
     {
       for (r = mws->start_regno; r <= mws->end_regno; r++)
-       {
-         if ((!bitmap_bit_p (live, r))
-             && (!bitmap_bit_p (artificial_uses, r))
-             && (!bitmap_bit_p (do_not_gen, r)))
-           {
-             old = df_set_note (REG_DEAD, insn, old, regno_reg_rtx[r]);
+       if (!bitmap_bit_p (live, r)
+           && !bitmap_bit_p (artificial_uses, r)
+           && !bitmap_bit_p (do_not_gen, r))
+         {
+           old = df_set_note (REG_DEAD, insn, old, regno_reg_rtx[r]);
 #ifdef REG_DEAD_DEBUGGING
-             df_print_note ("adding 2: ", insn, REG_NOTES (insn));
+           df_print_note ("adding 2: ", insn, REG_NOTES (insn));
 #endif
-           }
-       }
+         }
     }
   return old;
 }