This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: non-const libcalls
On Tue, May 08, 2001 at 12:48:54PM -0700, Richard Henderson wrote:
> But clearly this isn't happening, as otherwise we wouldn't get here:
>
> if ((flags & (ECF_CONST | ECF_PURE))
> && valreg != 0 && GET_CODE (valreg) != PARALLEL)
> {
> ...
> emit_libcall_block (insns, temp, valreg, note);
We don't. The errant emit_libcall_block is invoked in the
caller, expand_binop.
Short term, you should probably revert Bernd's patch.
Long term, we should revamp all of this nonsense.
r~