Improve debug message.
authorMarek Polacek <polacek@redhat.com>
Thu, 29 Nov 2012 07:40:44 +0000 (07:40 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 29 Nov 2012 07:40:44 +0000 (07:40 +0000)
From-SVN: r193922

gcc/ChangeLog
gcc/cprop.c

index 9f87c745ec5ba57961846be85c03553ecf1013f2..ddafeecf52ba2263cd06218023caeb9c28647562 100644 (file)
@@ -1,3 +1,7 @@
+2012-11-29  Marek Polacek  <polacek@redhat.com>
+
+       * cprop.c (bypass_block): Improve debug message.
+
 2012-11-29  Oleg Raikhman  <oleg@adapteva.com>
 
        * config/epiphany/epiphany.h (FIXED_REGISTERS, CALL_USED_REGISTERS):
index aa3054821bbc8c7dfbf33997f4858f51a0f5410a..3fb266a2592680831b5685cbc800fa6c26833b31 100644 (file)
@@ -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, rtx jump)
                                      "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;