public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Improve debug message
@ 2012-11-28 19:33 Marek Polacek
  2012-11-28 22:21 ` Eric Botcazou
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Polacek @ 2012-11-28 19:33 UTC (permalink / raw)
  To: GCC Patches; +Cc: Eric Botcazou

As per Eric's suggestiong, this patch makes one debug message more
clear.  Eric, I know you you pre-approved this, but still I'd
appreciate if you could take a look.  Thanks,

2012-11-28  Marek Polacek  <polacek@redhat.com>

	* cprop.c (bypass_block): Improve debug message.

--- gcc/cprop.c.mp	2012-11-28 16:55:03.520375191 +0100
+++ gcc/cprop.c	2012-11-28 20:29:05.664842945 +0100
@@ -1,6 +1,6 @@
 /* Global constant/copy propagation for RTL.
    Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-   2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
+   2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -1632,8 +1632,10 @@ bypass_block (basic_block bb, rtx setcc,
 				      "in jump_insn %d equals constant ",
 			   regno, INSN_UID (jump));
 		  print_rtl (dump_file, set->src);
-		  fprintf (dump_file, "\nBypass edge from %d->%d to %d\n",
-			   e->src->index, old_dest->index, dest->index);
+		  fprintf (dump_file, "\n\t     when BB %d is entered from "
+				      "BB %d.  Redirect edge %d->%d to %d.\n",
+			   old_dest->index, e->src->index, e->src->index,
+			   old_dest->index, dest->index);
 		}
 	      change = 1;
 	      removed_p = 1;

	Marek

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Improve debug message
  2012-11-28 19:33 [PATCH] Improve debug message Marek Polacek
@ 2012-11-28 22:21 ` Eric Botcazou
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Botcazou @ 2012-11-28 22:21 UTC (permalink / raw)
  To: Marek Polacek; +Cc: gcc-patches

> As per Eric's suggestiong, this patch makes one debug message more
> clear.  Eric, I know you you pre-approved this, but still I'd
> appreciate if you could take a look.  Thanks,
> 
> 2012-11-28  Marek Polacek  <polacek@redhat.com>
> 
> 	* cprop.c (bypass_block): Improve debug message.

That's fine, thanks.

-- 
Eric Botcazou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-28 22:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-28 19:33 [PATCH] Improve debug message Marek Polacek
2012-11-28 22:21 ` Eric Botcazou

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