Fix constant libcalls

Jan Hubicka jh@suse.cz
Fri Nov 9 03:43:00 GMT 2001


> On Thu, Nov 08, 2001 at 08:50:46PM +0100, Jan Hubicka wrote:
> > 	* calls.c (emit_library_call_value_1): Set ECF_PURE/ECF_CONST for
> > 	LCT_PURE/LCT_CONST functions.
> 
> No.  This will create a RETVAL block.  See expand_binop which
> subsequently calls emit_libcall_block.
I've noticed that too. I guess proper fix is to add EXF_LIBCALL_BLOCK
as separate flag. Sounds sane?

Honza
> 
> 
> r~



More information about the Gcc-patches mailing list