Re: Make lto-symtab to ignore conflicts in static functions

2013-04-09 Thread Richard Biener
On Mon, 8 Apr 2013, Jan Hubicka wrote: > Hi, > currently lto-symtab is trying to resolve all duplicated declarations, > including static variables where such duplicates should not happen. > This conflicts with the plan to solve PR54095 by postponning renaming to > the partitioning. This patch add

Make lto-symtab to ignore conflicts in static functions

2013-04-08 Thread Jan Hubicka
Hi, currently lto-symtab is trying to resolve all duplicated declarations, including static variables where such duplicates should not happen. This conflicts with the plan to solve PR54095 by postponning renaming to the partitioning. This patch adds lto_symtab_symbol_p that disable merging on stat