Re: Make cfun_push and cfun_pop also change current_function_decl

2012-09-20 Thread Richard Guenther
On Wed, Sep 19, 2012 at 3:15 PM, Martin Jambor wrote: > Hi, > > this is my second attempt to make push_cfun and pop_cfun save and > restore current_function_decl, so that code that wants to change the > function context does not have to do the latter manually. > > This of course enforces that cfun

Make cfun_push and cfun_pop also change current_function_decl

2012-09-19 Thread Martin Jambor
Hi, this is my second attempt to make push_cfun and pop_cfun save and restore current_function_decl, so that code that wants to change the function context does not have to do the latter manually. This of course enforces that cfun and current_function_decl match at push_cfun points which is asser