This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cgraphunit cleanups and fixes
> On Tue, Sep 09, 2003 at 02:27:56AM +0200, Jan Hubicka wrote:
> > (cgraph_analyze_function): Reset current_function_decl.
>
> Why is it set in the first place?
This is to avoid confusion of backend in tree_inlinable_function_p hook.
Both Java and C++ do crazy things when it is NULL or set to different
body. This should be probably cleaned up somehow, I will try to look
into it.
Honza
>
>
> r~