Re: [patch] Fix tree-ssa-reassoc to not look at first_pass_instance

2012-07-12 Thread Richard Günther
Steven Bosscher wrote: >On Thu, Jul 12, 2012 at 2:38 PM, Richard Guenther > wrote: >>> Richi, could you please have a look at jump threading, and see if >>> first_pass_instance can be remove? > >Ping? :-) > > >>> Bootstrapped&tested on x86_64-unknown-linux-gnu. OK for trunk? >> >> This was propos

Re: [patch] Fix tree-ssa-reassoc to not look at first_pass_instance

2012-07-12 Thread Steven Bosscher
On Thu, Jul 12, 2012 at 2:38 PM, Richard Guenther wrote: >> Richi, could you please have a look at jump threading, and see if >> first_pass_instance can be remove? Ping? :-) >> Bootstrapped&tested on x86_64-unknown-linux-gnu. OK for trunk? > > This was proposed before and I did not like that,

Re: [patch] Fix tree-ssa-reassoc to not look at first_pass_instance

2012-07-12 Thread Richard Guenther
On Thu, Jul 12, 2012 at 2:24 PM, Steven Bosscher wrote: > Hello, > > The global variable first_pass_instance exists to hack jump threading, > see tree-pass.h: > > /* Set to true if the pass is called the first time during compilation of the >current function. Note that using this information

[patch] Fix tree-ssa-reassoc to not look at first_pass_instance

2012-07-12 Thread Steven Bosscher
Hello, The global variable first_pass_instance exists to hack jump threading, see tree-pass.h: /* Set to true if the pass is called the first time during compilation of the current function. Note that using this information in the optimization passes is considered not to be clean, and it s