Re: [PATCH, trunk, PR57358] Avoid IPA-CP analysis if attribute optimize precludes it

2013-06-20 Thread Martin Jambor
Hi, On Thu, Jun 20, 2013 at 01:32:38PM +0200, Jan Hubicka wrote: > > > > 2013-06-11 Martin Jambor > > > > PR tree-optimization/57358 > > * ipa-prop.c (ipa_func_spec_opts_forbid_analysis_p): New function. > > (ipa_compute_jump_functions_for_edge): Bail out if it returns true. > >

Re: [PATCH, trunk, PR57358] Avoid IPA-CP analysis if attribute optimize precludes it

2013-06-20 Thread Jan Hubicka
> > 2013-06-11 Martin Jambor > > PR tree-optimization/57358 > * ipa-prop.c (ipa_func_spec_opts_forbid_analysis_p): New function. > (ipa_compute_jump_functions_for_edge): Bail out if it returns true. > (ipa_analyze_params_uses): Generate pessimistic info when true. > >

[PATCH, trunk, PR57358] Avoid IPA-CP analysis if attribute optimize precludes it

2013-06-12 Thread Martin Jambor
Hi, this is how I would like to fix the ICE when analyzing a function with attribute optimize on trunk. Inlining, the other user of the analysis, is already smart enough not to analyze such functions, so this teaches IPA-CP to do the same thing. Consequently, functions witrh attribute optimize(O