This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Undefined references due to varasm.c (globalize_decl) changes
- From: Jason Merrill <jason at redhat dot com>
- To: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 19 Mar 2002 00:21:09 +0000
- Subject: Re: Undefined references due to varasm.c (globalize_decl) changes
- References: <20020318234120.99716.qmail@web14507.mail.yahoo.com>
>>>>> "Danny" == Danny Smith <danny_r_smith_2001@yahoo.co.nz> writes:
>> Would it work to always get the name from the RTL instead?
> That was my first fix. and yes it worked on mingw32, but--not being
> familiar with other targets --I thought it might be safer to let each
> caller make the choice of whether to use RTL name or the
> DECL_ASSEMBLER_NAME. This is what happened before globalize_decl was
> born.
Let's not worry about safer right now. If it breaks something, we'll find
out soon enough; otherwise, let's try to use the simpler solution.
Jason