From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9140 invoked by alias); 2 Jun 2010 13:34:25 -0000 Received: (qmail 8893 invoked by alias); 2 Jun 2010 13:33:54 -0000 Date: Wed, 02 Jun 2010 13:34:00 -0000 Message-ID: <20100602133354.8892.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug debug/44375] goto_locus lost at -O0 during cfg cleanup In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gmail dot com" 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: 2010-06/txt/msg00154.txt.bz2 ------- Comment #3 from pinskia at gmail dot com 2010-06-02 13:33 ------- Subject: Re: New: goto_locus lost at -O0 during cfg cleanup I think this is a dup of a much older bug. Sent from my iPhone On Jun 2, 2010, at 3:30 AM, "jakub at gcc dot gnu dot org" wrote: > As mentioned in > http://gcc.gnu.org/ml/gcc-patches/2010-06/msg00115.html > for -O0 we sometimes, e.g. for return without value or for C++ NRV > optimized > return don't emit any insns with the location of the return stmt, > which results > in worse debug experience. > > > -- > Summary: goto_locus lost at -O0 during cfg cleanup > Product: gcc > Version: 4.6.0 > Status: UNCONFIRMED > Severity: normal > Priority: P3 > Component: debug > AssignedTo: unassigned at gcc dot gnu dot org > ReportedBy: jakub at gcc dot gnu dot org > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44375 > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44375