[gcc(refs/users/aldyh/heads/ranger-relational)] Use FILE argument in ranger dump routines instead of dump_file.
Aldy Hernandez
aldyh@gcc.gnu.org
Thu Mar 18 12:59:24 GMT 2021
https://gcc.gnu.org/g:69aef7d3423dc4b575ca1b54830d94892b9ab94c
commit 69aef7d3423dc4b575ca1b54830d94892b9ab94c
Author: Aldy Hernandez <aldyh@redhat.com>
Date: Wed Mar 17 11:35:27 2021 +0100
Use FILE argument in ranger dump routines instead of dump_file.
Diff:
---
gcc/gimple-range.cc | 2 +-
gcc/value-relation.cc | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/gcc/gimple-range.cc b/gcc/gimple-range.cc
index e8199827627..0d833ad2da6 100644
--- a/gcc/gimple-range.cc
+++ b/gcc/gimple-range.cc
@@ -1246,7 +1246,7 @@ gimple_ranger::dump (FILE *f)
FOR_EACH_BB_FN (bb, cfun)
dump_bb (f, bb);
- m_cache.dump (dump_file, false);
+ m_cache.dump (f, false);
}
// If SCEV has any information about phi node NAME, return it as a range in R.
diff --git a/gcc/value-relation.cc b/gcc/value-relation.cc
index ce95d39e455..bf291eb44d7 100644
--- a/gcc/value-relation.cc
+++ b/gcc/value-relation.cc
@@ -805,9 +805,9 @@ relation_oracle::dump (FILE *f, basic_block bb) const
relation_chain *ptr = m_relations[bb->index].m_head;
for (; ptr; ptr = ptr->m_next)
{
- fprintf (dump_file, "Relational : ");
- ptr->dump (dump_file);
- fprintf (dump_file, "\n");
+ fprintf (f, "Relational : ");
+ ptr->dump (f);
+ fprintf (f, "\n");
}
}
More information about the Gcc-cvs
mailing list