Re: [PATCH][1/n] Improve PR60291

2014-02-21 Thread Richard Biener
On Fri, 21 Feb 2014, Richard Biener wrote: > > This improves compile-time of PR60291 at -O1 from 210s to 85s, > getting remove unused locals out of the profile. There walking > DECL_INITIAL of globals is quadratic when that is refered to from > multiple functions. We've had the same issue with

[PATCH][1/n] Improve PR60291

2014-02-21 Thread Richard Biener
This improves compile-time of PR60291 at -O1 from 210s to 85s, getting remove unused locals out of the profile. There walking DECL_INITIAL of globals is quadratic when that is refered to from multiple functions. We've had the same issue with add_referenced_vars when that still existed. Bootstra