public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-3233] Avoid calling tracer.trailer() twice.
@ 2022-10-11 15:20 Aldy Hernandez
  0 siblings, 0 replies; only message in thread
From: Aldy Hernandez @ 2022-10-11 15:20 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:576d524559776ee6744f478da600939ca5c2d502

commit r13-3233-g576d524559776ee6744f478da600939ca5c2d502
Author: Aldy Hernandez <aldyh@redhat.com>
Date:   Tue Oct 11 16:00:33 2022 +0200

    Avoid calling tracer.trailer() twice.
    
    gcc/ChangeLog:
    
            * gimple-range-gori.cc (gori_compute::logical_combine): Avoid
            calling tracer.trailer().

Diff:
---
 gcc/gimple-range-gori.cc | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gcc/gimple-range-gori.cc b/gcc/gimple-range-gori.cc
index b37d03cddda..5ff067cadb5 100644
--- a/gcc/gimple-range-gori.cc
+++ b/gcc/gimple-range-gori.cc
@@ -810,8 +810,12 @@ gori_compute::logical_combine (vrange &r, enum tree_code code,
 	}
       else
 	res = false;
-      if (idx)
-	tracer.trailer (idx, "logical_combine", res, NULL_TREE, r);
+      if (idx && res)
+	{
+	  tracer.print (idx, "logical_combine produced ");
+	  r.dump (dump_file);
+	  fputc ('\n', dump_file);
+	}
     }
 
   switch (code)

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

only message in thread, other threads:[~2022-10-11 15:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-11 15:20 [gcc r13-3233] Avoid calling tracer.trailer() twice Aldy Hernandez

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).