remove libcall blocks around const/pure function calls

Jan Hubicka jh@suse.cz
Tue Jul 19 17:36:00 GMT 2005


> On Tue, Jul 19, 2005 at 11:52:51AM +0200, Jan Hubicka wrote:
> > 	* calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK.
> > 	(expand_call): Do not handle ECF_LIBCALL_BLOCK.
> 
> Hmm.  The flags_from_decl_or_type bit is fine, but I'm torn about
> the expand_call change.  Once or twice I've thought about gutting
> emit_library_call_value_1, and having it call into expand_call.
> I keep stopping because "obviously" the correct solution is to get
> rid of libcalls entirely, but that continues to be problematic.
> 
> Thoughts?

I would be happy with applying the flags_from_decl_or_type only for a
moment too.  I hope that we will get rid of LIBCALL notes for 4.2
entirely and expand_call code can do then as well.

Honza
> 
> 
> r~



More information about the Gcc-patches mailing list