Re: Symbol table 20/many: cleanup of cgraph_remove_unreachable_nodes

2012-05-11 Thread H.J. Lu
On Thu, May 10, 2012 at 1:19 PM, Jan Hubicka wrote: > Hi, > after some thought, the changes into omp-low are not as obviously harmless as > I > originally tought.  So i decided to handle this by separate patch.  This patch > simply makes cgraph to not release bodies of artificial functions that p

Re: Symbol table 20/many: cleanup of cgraph_remove_unreachable_nodes

2012-05-10 Thread Jan Hubicka
Hi, after some thought, the changes into omp-low are not as obviously harmless as I originally tought. So i decided to handle this by separate patch. This patch simply makes cgraph to not release bodies of artificial functions that papers around the problem in easier way. Bootstrapped/regtested

Symbol table 20/many: cleanup of cgraph_remove_unreachable_nodes

2012-05-09 Thread Jan Hubicka
Hi, this patch reworks cgraph_remove_unreachable_nodes that has grown from somewhat hackish but simple mark&sweep routine into quite unmaintainable mess. It is because it needs to handle several special cases - extern inline functions, virtual functions, clones and inline clone tree reshaping and