From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22314 invoked by alias); 13 Jun 2009 18:18:59 -0000 Received: (qmail 22306 invoked by uid 22791); 13 Jun 2009 18:18:59 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-qy0-f194.google.com (HELO mail-qy0-f194.google.com) (209.85.221.194) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 13 Jun 2009 18:18:47 +0000 Received: by qyk32 with SMTP id 32so3867799qyk.0 for ; Sat, 13 Jun 2009 11:18:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.77.17 with SMTP id e17mr4054289vck.3.1244917125403; Sat, 13 Jun 2009 11:18:45 -0700 (PDT) In-Reply-To: <200906132000.35949.ebotcazou@adacore.com> References: <84fc9c000906130823yd6a6296x947a972c7d2535d5@mail.gmail.com> <200906132000.35949.ebotcazou@adacore.com> Date: Sat, 13 Jun 2009 18:18:00 -0000 Message-ID: <84fc9c000906131118q71f48e0atafdbf4288fa6a01d@mail.gmail.com> Subject: Re: VTA guality assessment: better than -O0 ;-) From: Richard Guenther To: Eric Botcazou Cc: gcc@gcc.gnu.org, Alexandre Oliva Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-06/txt/msg00292.txt.bz2 On Sat, Jun 13, 2009 at 8:00 PM, Eric Botcazou wrote: >> Yes, I don't like -O0 producing worse debug info - what does >> the -O0 -fvar-tracking-assignments results look like? > > I'd do the opposite: totally disable VTA at -O0 like we do for -fvar-trac= king. > We once tried to enable -fvar-tracking with -O0 at AdaCore and ended up w= ith > bloated and inferior debug info. =A0I think we shouldn't need to do anyth= ing > at -O0 apart from sufficiently curbing the code generator to get correct > naive debug info; the sophisticated stuff should be reserved to -O and ab= ove. Well, I see FAILs for -O0 compared to -O1 with VTA - that doesn't look "rig= ht". How we fix this is not relevant - but we should try to do so. Richard.