Re: [PATCH][1/n] referenced-vars TLC

2012-05-22 Thread Richard Guenther
On Mon, 21 May 2012, Michael Matz wrote: > Hi, > > On Mon, 21 May 2012, Richard Guenther wrote: > > > This removes the code that makes us walk DECL_INITIAL (recursively) > > on add_referenced_var - one source of compile-time hogs in the past > > and not strictly necessary. > > For this to be a

Re: [PATCH][1/n] referenced-vars TLC

2012-05-21 Thread Michael Matz
Hi, On Mon, 21 May 2012, Richard Guenther wrote: > This removes the code that makes us walk DECL_INITIAL (recursively) > on add_referenced_var - one source of compile-time hogs in the past > and not strictly necessary. For this to be a compile time hog, ... >if (referenced_var_check_and_ins

[PATCH][1/n] referenced-vars TLC

2012-05-21 Thread Richard Guenther
This removes the code that makes us walk DECL_INITIAL (recursively) on add_referenced_var - one source of compile-time hogs in the past and not strictly necessary. Fallout is fixed by guarding used flag setting in unused-var-removal as all reads of that flag are already. This is a first patch in