This is the mail archive of the gcc@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]

Re: Bug in cse_insn() and emit_libcall_block()


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~


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