This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: c++/6381: [PATCH] Missing assembler label
- From: Richard Henderson <rth at redhat dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
- Date: Tue, 7 May 2002 13:57:37 -0700
- Subject: Re: c++/6381: [PATCH] Missing assembler label
- References: <wvl3cx4xa5t.fsf@prospero.cambridge.redhat.com>
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~