From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8566 invoked by alias); 2 Jun 2010 13:33:52 -0000 Received: (qmail 8549 invoked by uid 22791); 2 Jun 2010 13:33:51 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_CF X-Spam-Check-By: sourceware.org Received: from mail-pv0-f175.google.com (HELO mail-pv0-f175.google.com) (74.125.83.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 02 Jun 2010 13:33:45 +0000 Received: by pvc30 with SMTP id 30so2652540pvc.20 for ; Wed, 02 Jun 2010 06:33:43 -0700 (PDT) Received: by 10.115.66.26 with SMTP id t26mr6897428wak.210.1275485623042; Wed, 02 Jun 2010 06:33:43 -0700 (PDT) Received: from [10.136.245.176] ([166.205.136.27]) by mx.google.com with ESMTPS id a23sm69075868wam.14.2010.06.02.06.33.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 02 Jun 2010 06:33:41 -0700 (PDT) References: Message-Id: <1E41D869-CF36-46C3-90EB-2D3D7CBB489D@gmail.com> From: Andrew Pinski To: "gcc-bugzilla@gcc.gnu.org" In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (iPhone Mail 7E18) Subject: Re: [Bug debug/44375] New: goto_locus lost at -O0 during cfg cleanup Date: Wed, 02 Jun 2010 13:33:00 -0000 Cc: "gcc-bugs@gcc.gnu.org" X-IsSubscribed: yes 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/msg00153.txt.bz2 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 >