Re: [PATCH] Fix PR60911

2014-04-28 Thread Richard Biener
On Fri, 25 Apr 2014, Jan Hubicka wrote: > > On Thu, 24 Apr 2014, Jan Hubicka wrote: > > > > > > > > > > Simple IPA passes are supposed to see function bodies with IPA > > > > transforms > > > > applied - this is what the code in execute_one_pass tries to ensure. > > > > But that doesn't work a

Re: [PATCH] Fix PR60911

2014-04-25 Thread Jan Hubicka
> On Thu, 24 Apr 2014, Jan Hubicka wrote: > > > > > > > Simple IPA passes are supposed to see function bodies with IPA transforms > > > applied - this is what the code in execute_one_pass tries to ensure. > > > But that doesn't work anymore with on-demand function-body loading. > > > The followi

Re: [PATCH] Fix PR60911

2014-04-25 Thread Richard Biener
On Thu, 24 Apr 2014, Jan Hubicka wrote: > > > > Simple IPA passes are supposed to see function bodies with IPA transforms > > applied - this is what the code in execute_one_pass tries to ensure. > > But that doesn't work anymore with on-demand function-body loading. > > The following addresses t

Re: [PATCH] Fix PR60911

2014-04-24 Thread Jan Hubicka
> > Simple IPA passes are supposed to see function bodies with IPA transforms > applied - this is what the code in execute_one_pass tries to ensure. > But that doesn't work anymore with on-demand function-body loading. > The following addresses this in the least intrusive way - inlining > do_per_

[PATCH] Fix PR60911

2014-04-24 Thread Richard Biener
Simple IPA passes are supposed to see function bodies with IPA transforms applied - this is what the code in execute_one_pass tries to ensure. But that doesn't work anymore with on-demand function-body loading. The following addresses this in the least intrusive way - inlining do_per_function (ap