Commit f54104df by Alexandre Oliva Committed by Alexandre Oliva

gcse.c (compute_ld_motion_mems): ASM outputs aren't moveable.

* gcse.c (compute_ld_motion_mems): ASM outputs aren't moveable.
(find_moveable_store): Likewise.

From-SVN: r41363
parent aa570f54
2001-04-15 Alexandre Oliva <aoliva@redhat.com>
* gcse.c (compute_ld_motion_mems): ASM outputs aren't moveable.
(find_moveable_store): Likewise.
2001-04-15 Jim Wilson <wilson@redhat.com>
* function.c (expand_function_end): Handle PARALLEL real_decl_rtl.
......
......@@ -6264,7 +6264,8 @@ compute_ld_motion_mems ()
{
ptr = ldst_entry (dest);
if (GET_CODE (src) != MEM)
if (GET_CODE (src) != MEM
&& GET_CODE (src) != ASM_OPERANDS)
ptr->stores = alloc_INSN_LIST (insn, ptr->stores);
else
ptr->invalid = 1;
......@@ -6521,7 +6522,8 @@ find_moveable_store (insn)
struct ls_expr * ptr;
rtx dest = PATTERN (insn);
if (GET_CODE (dest) != SET)
if (GET_CODE (dest) != SET
|| GET_CODE (SET_SRC (dest)) == ASM_OPERANDS)
return;
dest = SET_DEST (dest);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment