This is the mail archive of the gcc-patches@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: [PATCH] Fix store motion, revised PRE memory handling


On Mon, Jul 16, 2001 at 11:48:47AM -0600, law@redhat.com wrote:
> I'd like to see more discussion for the process_insert_insn change.  It
> looks totally wrong to me.    emit_move_insn should work just fine for
> memory operands as long as their addresses are valid.  And the validity
> of a memory address should have been checked via the call to general_operand.

Indeed.  And even supposing there's a good reason for the
change, nonmemory_operand would be the proper test.


r~


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