[RFC] Dealing with ODR violations in GCC

Jason Merrill jason@redhat.com
Tue Feb 17 03:04:00 GMT 2015


On 02/16/2015 07:27 PM, Jan Hubicka wrote:
> Jason, I wonder if there is more informative way to print destructor during LTO than as __comp_dtor?

You could print the mangled name, and possibly run it through 
__cxa_demangle if it starts with _Z.

> Laos for named types,
> perhaps printing just type name instead of the wrong "struct typename" (because we make no difference between struct and
> class at LTO) would be cleaner.

That makes sense.

Jason




More information about the Gcc mailing list