> On 05/13/13 14:09, Jan Hubicka wrote: > >>Index: varasm.c > >>=================================================================== > > >I think DECL_COMDAT is not what you really want to return true for. So > >perhaps > >you really want (TREE_PUBLIC (decl) && decl_binds_to_current_def_p)? > > Like this? This too fixes the problem, tested on powerpc-linux target.
Yes, it looks good to me :) Honza