From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4415 invoked by alias); 24 Nov 2007 05:46:36 -0000 Received: (qmail 4400 invoked by uid 22791); 24 Nov 2007 05:46:36 -0000 X-Spam-Check-By: sourceware.org Received: from VLSI1.ULTRA.NYU.EDU (HELO vlsi1.ultra.nyu.edu) (128.122.140.213) by sourceware.org (qpsmtpd/0.31) with SMTP; Sat, 24 Nov 2007 05:46:32 +0000 Received: by vlsi1.ultra.nyu.edu (4.1/1.34) id AA22279; Sat, 24 Nov 07 00:45:51 EST From: kenner@vlsi1.ultra.nyu.edu (Richard Kenner) Message-Id: <10711240545.AA22279@vlsi1.ultra.nyu.edu> Date: Sat, 24 Nov 2007 15:18:00 -0000 To: aoliva@redhat.com Subject: Re: Designs for better debug info in GCC Cc: gcc-patches@gcc.gnu.org, gcc@gcc.gnu.org, iant@google.com, mark@codesourcery.com, richard.guenther@gmail.com, stevenb.gcc@gmail.com In-Reply-To: References: <571f6b510711121208m2bf7c77fp884f52d458df118b@mail.gmail.com> <571f6b510711231556o439e7bbek9ab4855079bab51d@mail.gmail.com> 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: 2007-11/txt/msg01279.txt.bz2 > Yes, catching all such cases hasn't been trivial. If we miss some, > then what happens is that -O2 -g -fvar-tracking-assignments outputs > different executable code than -O2. But that's a very serious type of bug because it means you have situations where a program fails and you can't debug it because when you turn on debugging information, it doesn't fail anymore. We need to make an absolute rule that this *cannot* happen and luckily this is one of the easiest types of errors to project against.