From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11264 invoked by alias); 13 Jun 2011 19:53:16 -0000 Received: (qmail 11255 invoked by uid 22791); 13 Jun 2011 19:53:15 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 13 Jun 2011 19:53:02 +0000 From: "jan.kratochvil at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/49382] -O2 -g: DW_AT_location at the very first PC is already modified X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan.kratochvil at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Mon, 13 Jun 2011 19:53:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-06/txt/msg01141.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49382 --- Comment #3 from Jan Kratochvil 2011-06-13 19:52:45 UTC --- (In reply to comment #2) > we could special case parameters (PARM_DECLs and vars with PARM_DECL > DECL_ABSTRACT_ORIGIN) before the first insn At least temporarily it would be needed to get the entry values working in more cases. While some dwarflints may complain re-stating it is allowed by DWARF-4: # A location list entry (but not a base address selection or end of list entry) # whose beginning and ending addresses are equal has no effect because the size # of the range covered by such an entry is zero.