From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7677 invoked by alias); 13 Jun 2012 08:07:00 -0000 Received: (qmail 7656 invoked by uid 22791); 13 Jun 2012 08:06:58 -0000 X-SWARE-Spam-Status: No, hits=-5.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD 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, 13 Jun 2012 08:06:36 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q5D86XOE008427 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 13 Jun 2012 04:06:33 -0400 Received: from freie (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q5D86V6M024436 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Jun 2012 04:06:32 -0400 Received: from livre.localdomain (livre-to-gw.oliva.athome.lsd.ic.unicamp.br [172.31.160.19]) by freie (8.14.5/8.14.5) with ESMTP id q5D86RLd020052; Wed, 13 Jun 2012 05:06:28 -0300 Received: from livre.localdomain (aoliva@localhost.localdomain [127.0.0.1]) by livre.localdomain (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q5D86Rd4005622; Wed, 13 Jun 2012 05:06:27 -0300 Received: (from aoliva@localhost) by livre.localdomain (8.14.3/8.14.3/Submit) id q5D86Q71005620; Wed, 13 Jun 2012 05:06:26 -0300 From: Alexandre Oliva To: Bernd Schmidt Cc: gcc-patches@gcc.gnu.org Subject: Re: don't force debug insns after their PREV_INSNs References: <4DE927AB.3030905@codesourcery.com> Date: Wed, 13 Jun 2012 08:08:00 -0000 In-Reply-To: (Alexandre Oliva's message of "Mon, 09 Apr 2012 03:50:41 -0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-06/txt/msg00798.txt.bz2 On Apr 9, 2012, Alexandre Oliva wrote: > The problem here is that a nondebug insn may be moved ahead of a useful > debug insn and clobber one of its inputs, rendering it useless, when > there's no good reason for the debug insn to be kept in place, other > than an accidental dependency on the previous insn when it happens to be > unrelated with the debug insn. > Removing the extraneous dependency, that was thought to be a way to > reduce movement of debug insns, improves on this problem. It's not > clear that this artificial dependency really does any good, since odds > are that that previous insn may be pulled ahead anyway, in which case so > will debug insn (unless that would fail other of its deps, of course) > Retested. Ok? > for gcc/ChangeLog > from Alexandre Oliva > * sched-deps.c (sched_analyze_insn): Don't force debug insns > to follow their original predecessors. Ping? http://gcc.gnu.org/ml/gcc-patches/2012-04/msg00418.html -- Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/ You must be the change you wish to see in the world. -- Gandhi Be Free! -- http://FSFLA.org/ FSF Latin America board member Free Software Evangelist Red Hat Brazil Compiler Engineer