[trunk<-vta] Re: [vta,vta4.3,trunk?] defer computation of DECL_ASSEMBLER_NAME in dwarf2out

Richard Guenther richard.guenther@gmail.com
Tue Jun 2 09:14:00 GMT 2009


On Mon, Jun 1, 2009 at 10:04 AM, Alexandre Oliva <aoliva@redhat.com> wrote:
> On Sep 11, 2008, Alexandre Oliva <aoliva@redhat.com> wrote:
>
>> Another issue that came up in -fcompare-debug dumps.  A symbol whose
>> assembler name didn't get computed when compiling without debug info
>> had it computed when compiling with debug info.  In C++, computing the
>> assembler name sometimes causes templates to be instantiated, because
>> of mangling.  This is Bad (TM): debug info shouldn't ever affect
>> template instantiation.  This patch fixes it.
>
> Ok for trunk?

Please coordinate with LTO folks (and I'd like to hear C++ maintainer
opinions).  ISTR LTO has similar issues with DECL_ASSEMBLER_NAME.

Richard.



More information about the Gcc-patches mailing list