public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Andrew Macleod <amacleod@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-1748] Dump should be read only. Do not trigger new lookups.
Date: Wed, 23 Jun 2021 14:26:41 +0000 (GMT)	[thread overview]
Message-ID: <20210623142641.B8F7C384801D@sourceware.org> (raw)

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,


                 reply	other threads:[~2021-06-23 14:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210623142641.B8F7C384801D@sourceware.org \
    --to=amacleod@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).