From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12535 invoked by alias); 28 Nov 2007 00:53:26 -0000 Received: (qmail 11892 invoked by uid 48); 28 Nov 2007 00:53:07 -0000 Date: Wed, 28 Nov 2007 00:53:00 -0000 Subject: [Bug bootstrap/34255] New: scope-blocks-on-a-diet patch diverges -g from non-g output code X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "aoliva at gcc dot gnu dot org" 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: 2007-11/txt/msg02722.txt.bz2 http://gcc.gnu.org/ml/gcc-patches/2007-07/msg01745.html regresses the property that code output with -g must be the same as that without -g. make bootstrap-debug demonstrates that several files miscompare after this patch, and don't if the patch is reversed. The patch not only causes -g divergence, it also accidentally drops subblocks that need to be kept around for the sake of generating debug information for them. Both problems are fixed with the patch at http://gcc.gnu.org/ml/gcc-patches/2007-10/msg00608.html -- Summary: scope-blocks-on-a-diet patch diverges -g from non-g output code Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: aoliva at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34255