OSDN Git Service

Daily bump.
[pf3gnuchains/gcc-fork.git] / gcc / regstat.c
index cb4471b..bfd743b 100644 (file)
@@ -1,5 +1,5 @@
 /* Scanning of rtl for dataflow analysis.
-   Copyright (C) 2007, 2008, 2009
+   Copyright (C) 2007, 2008, 2009, 2010
    Free Software Foundation, Inc.
    Contributed by Kenneth Zadeck (zadeck@naturalbridge.com).
 
@@ -42,7 +42,7 @@ struct regstat_n_sets_and_refs_t *regstat_n_sets_and_refs;
    REG_N_SETS and REG_N_REFS.
    ----------------------------------------------------------------------------*/
 
-/* If a pass need to change these values in some magical way or or the
+/* If a pass need to change these values in some magical way or the
    pass needs to have accurate values for these and is not using
    incremental df scanning, then it should use REG_N_SETS and
    REG_N_USES.  If the pass is doing incremental scanning then it
@@ -308,10 +308,9 @@ regstat_bb_compute_ri (unsigned int bb_index,
                REG_BASIC_BLOCK (uregno) = REG_BLOCK_GLOBAL;
            }
 
-         if (!bitmap_bit_p (live, uregno))
+         if (bitmap_set_bit (live, uregno))
            {
              /* This register is now live.  */
-             bitmap_set_bit (live, uregno);
 
              /* If we have seen this regno, then it has already been
                 processed correctly with the per insn increment.  If