OSDN Git Service

Update df_lr_bb_local_compute for embedded bitmaps.
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 5 Jun 2010 00:48:49 +0000 (00:48 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 5 Jun 2010 00:48:49 +0000 (00:48 +0000)
2010-06-04  H.J. Lu  <hongjiu.lu@intel.com>

PR boostrap/44421
* df-problems.c (df_lr_bb_local_compute): Updated for embedded
bitmaps.
(df_byte_lr_bb_local_compute): Likewise.

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

gcc/ChangeLog
gcc/df-problems.c

index 7d65c74..d0d7122 100644 (file)
@@ -1,3 +1,10 @@
+2010-06-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR boostrap/44421
+       * df-problems.c (df_lr_bb_local_compute): Updated for embedded
+       bitmaps.
+       (df_byte_lr_bb_local_compute): Likewise.
+
 2010-06-03  Jason Merrill  <jason@redhat.com>
 
        Implement noexcept operator (5.3.7)
index 89f1733..774cc9e 100644 (file)
@@ -903,7 +903,7 @@ df_lr_bb_local_compute (unsigned int bb_index)
       df_ref use = *use_rec;
       /* Add use to set of uses in this BB.  */
       if (DF_REF_FLAGS (use) & DF_REF_AT_TOP)
-       bitmap_set_bit (bb_info->use, DF_REF_REGNO (use));
+       bitmap_set_bit (&bb_info->use, DF_REF_REGNO (use));
     }
 #endif
 
@@ -2712,7 +2712,7 @@ df_byte_lr_bb_local_compute (unsigned int bb_index)
          unsigned int uregno = DF_REF_REGNO (use);
          unsigned int start = problem_data->regno_start[uregno];
          unsigned int len = problem_data->regno_len[uregno];
-         bitmap_set_range (bb_info->use, start, len);
+         bitmap_set_range (&bb_info->use, start, len);
        }
     }
 #endif