From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28209 invoked by alias); 7 May 2002 21:06:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 28181 invoked by uid 71); 7 May 2002 21:06:01 -0000 Date: Tue, 07 May 2002 14:06:00 -0000 Message-ID: <20020507210601.28180.qmail@sources.redhat.com> To: jason@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Richard Henderson Subject: Re: c++/6381: [PATCH] Missing assembler label Reply-To: Richard Henderson X-SW-Source: 2002-05/txt/msg00202.txt.bz2 List-Id: The following reply was made to PR c++/6381; it has been noted by GNATS. From: Richard Henderson To: Jason Merrill Cc: gcc-patches@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/6381: [PATCH] Missing assembler label Date: Tue, 7 May 2002 13:57:37 -0700 On Tue, May 07, 2002 at 04:14:22PM +0100, Jason Merrill wrote: > 6381 is a regression whereby compiling with -g -O causes us to end up with > an undefined reference to a static local variable because we wrote out the > initializer for another variable in dwarf2out. The simple fix is to > disable the problematic code; it means that the debug info will be somewhat > less useful for unexpanded constants, but is safe. Hum. Wouldn't it be more useful to allow at least INTEGER_CST? Oh well, perhaps your better fix can be moved to 3.1.1. r~