diff options
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cse.c b/gcc/cse.c index a8df74b0be0..0ad7b2e2a46 100644 --- a/gcc/cse.c +++ b/gcc/cse.c @@ -4312,7 +4312,8 @@ canonicalize_insn (rtx insn, struct set **psets, int n_sets) if (CALL_P (insn)) { for (tem = CALL_INSN_FUNCTION_USAGE (insn); tem; tem = XEXP (tem, 1)) - XEXP (tem, 0) = canon_reg (XEXP (tem, 0), insn); + if (GET_CODE (XEXP (tem, 0)) != SET) + XEXP (tem, 0) = canon_reg (XEXP (tem, 0), insn); } if (GET_CODE (x) == SET && GET_CODE (SET_SRC (x)) == CALL) |