From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30069 invoked by alias); 28 Nov 2012 19:33:39 -0000 Received: (qmail 30057 invoked by uid 22791); 28 Nov 2012 19:33:38 -0000 X-SWARE-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 28 Nov 2012 19:33:32 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qASJXUqJ027432 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 28 Nov 2012 14:33:31 -0500 Received: from redhat.com (ovpn-116-24.ams2.redhat.com [10.36.116.24]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id qASJXRmN019034 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 28 Nov 2012 14:33:30 -0500 Date: Wed, 28 Nov 2012 19:33:00 -0000 From: Marek Polacek To: GCC Patches Cc: Eric Botcazou Subject: [PATCH] Improve debug message Message-ID: <20121128193327.GC26585@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2012-11/txt/msg02363.txt.bz2 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 * 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