public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-1748] Dump should be read only. Do not trigger new lookups.
@ 2021-06-23 14:26 Andrew Macleod
  0 siblings, 0 replies; only message in thread
From: Andrew Macleod @ 2021-06-23 14:26 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:9d674b735f22aa9cf85629851783ce38f25087b5

commit r12-1748-g9d674b735f22aa9cf85629851783ce38f25087b5
Author: Andrew MacLeod <amacleod@redhat.com>
Date:   Tue Jun 22 09:20:47 2021 -0400

    Dump should be read only. Do not trigger new lookups.
    
            * gimple-range.cc (dump_bb): Use range_on_edge from the cache.

Diff:
---
 gcc/gimple-range.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/gimple-range.cc b/gcc/gimple-range.cc
index 385cecf330b..49d26509230 100644
--- a/gcc/gimple-range.cc
+++ b/gcc/gimple-range.cc
@@ -1457,7 +1457,7 @@ gimple_ranger::dump_bb (FILE *f, basic_block bb)
 		  m_cache.block_range (range, bb, name, false) ||
 		  m_cache.block_range (range, e->dest, name, false))
 		{
-		  range_on_edge (range, e, name);
+		  m_cache.range_on_edge (range, e, name);
 		  if (!range.varying_p ())
 		    {
 		      fprintf (f, "%d->%d ", e->src->index,


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-23 14:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-23 14:26 [gcc r12-1748] Dump should be read only. Do not trigger new lookups Andrew Macleod

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).