diff options
Diffstat (limited to 'gcc/tree-into-ssa.c')
-rw-r--r-- | gcc/tree-into-ssa.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/gcc/tree-into-ssa.c b/gcc/tree-into-ssa.c index 6a699ff4b6d..c55f7363697 100644 --- a/gcc/tree-into-ssa.c +++ b/gcc/tree-into-ssa.c @@ -1463,14 +1463,14 @@ dump_decl_set (FILE *file, bitmap set) { if (set) { - referenced_var_iterator ri; - tree var; + bitmap_iterator bi; + unsigned i; fprintf (file, "{ "); - FOR_EACH_REFERENCED_VAR_IN_BITMAP (set, var, ri) + EXECUTE_IF_SET_IN_BITMAP (set, 0, i, bi) { - print_generic_expr (file, var, 0); + print_generic_expr (file, referenced_var (i), 0); fprintf (file, " "); } @@ -3201,11 +3201,12 @@ update_ssa (unsigned update_flags) memory symbols into the set MEM_SYMS_TO_RENAME. */ if (!bitmap_empty_p (syms_to_rename)) { - referenced_var_iterator ri; - tree sym; + unsigned i; + bitmap_iterator bi; - FOR_EACH_REFERENCED_VAR_IN_BITMAP (syms_to_rename, sym, ri) + EXECUTE_IF_SET_IN_BITMAP (syms_to_rename, 0, i, bi) { + tree sym = referenced_var (i); if (is_gimple_reg (sym)) bitmap_set_bit (regs_to_rename, i); else |