Bug in cse_insn() and emit_libcall_block()

Richard Henderson rth@redhat.com
Tue Feb 27 21:29:00 GMT 2001


On Tue, Feb 27, 2001 at 11:12:37PM +0100, Stephane Carrez wrote:
> (call_insn "_libcall")
> (set (reg M) (mem (reg/f virtual-stack-vars))

This is likely a problem with emit_library_call_value.

There was some discussion in moderately recent history about adding
a (clobber (mem (reg virtual-stack-vars))) in CALL_INSN_FUNCTION_USAGE.
I seem to recall that there were problems encountered with that wrt
virtual register instantiation or somesuch.

It appears that expand_call emits a standalone clobber before a 
pure or const call, but emit_library_call_value_1 doesn't.


r~



More information about the Gcc mailing list