This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]