From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26540 invoked by alias); 4 Nov 2012 22:26:31 -0000 Received: (qmail 26532 invoked by uid 22791); 4 Nov 2012 22:26:28 -0000 X-SWARE-Spam-Status: No, hits=-5.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_TM 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; Sun, 04 Nov 2012 22:26:20 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qA4MQGAH005905 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 4 Nov 2012 17:26:16 -0500 Received: from freie (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id qA4MQED5012166 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 4 Nov 2012 17:26:16 -0500 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 qA4MQEXp003184; Sun, 4 Nov 2012 20:26:14 -0200 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 qA4MQDUf001743; Sun, 4 Nov 2012 20:26:13 -0200 Received: (from aoliva@localhost) by livre.localdomain (8.14.3/8.14.3/Submit) id qA4MQBSd001741; Sun, 4 Nov 2012 20:26:11 -0200 From: Alexandre Oliva To: Dehao Chen Cc: Eric Botcazou , GCC Patches , David Li Subject: Re: [PATCH] Reset source location for instructions moved out of its original residing basic block References: <1826073.rNRXULK6yo@polaris> <3309385.mAl1npuha0@polaris> Date: Sun, 04 Nov 2012 22:26:00 -0000 In-Reply-To: (Dehao Chen's message of "Thu, 1 Nov 2012 10:00:46 -0700") 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-11/txt/msg00328.txt.bz2 On Nov 1, 2012, Dehao Chen wrote: > I see your point. How about we guard these changes with a flag, say > -gless-jumpy The right (DWARF-expected) approach to avoid this sortof jumpiness is to teach GCC to emit .locs with is_stmt=1, along the lines (and limitations) described in my GCC Summit paper on stmt frontier notes, that proposes further extensions to deal with the foreseen limitations. http://people.redhat.com/~aoliva/papers/sfn/gcc2010.pdf -- 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