This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bug in cse_insn() and emit_libcall_block()
- To: Stephane Carrez <Stephane dot Carrez at worldnet dot fr>
- Subject: Re: Bug in cse_insn() and emit_libcall_block()
- From: Richard Henderson <rth at redhat dot com>
- Date: Tue, 27 Feb 2001 21:29:25 -0800
- Cc: gcc at gcc dot gnu dot org
- References: <3A9C2655.38E717D3@worldnet.fr>
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~