Re: Switch function context when doing inline analysis

2011-09-24 Thread Richard Guenther
On Thu, Sep 22, 2011 at 12:52 AM, Jan Hubicka wrote: > > Hi, > ipa-inline-analysis use is_gimple_min_invariant that in turn require > current_function_decl > to be set to the corresponding function or all addresses of automatic vars > are considered > non-invariant. > > Bootstrapped/regtested x8

Switch function context when doing inline analysis

2011-09-21 Thread Jan Hubicka
Hi, ipa-inline-analysis use is_gimple_min_invariant that in turn require current_function_decl to be set to the corresponding function or all addresses of automatic vars are considered non-invariant. Bootstrapped/regtested x86_64-linux, will commit it shortly. * ipa-inline-analsis.c (c