diff options
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1967,8 +1967,9 @@ hash_scan_set (pat, insn, set_p) && src != dest) { /* An expression is not anticipatable if its operands are - modified before this insn. */ - int antic_p = oprs_anticipatable_p (src, insn); + modified before this insn or if this is not the only SET in + this insn. */ + int antic_p = oprs_anticipatable_p (src, insn) && single_set (insn); /* An expression is not available if its operands are subsequently modified, including this insn. */ int avail_p = oprs_available_p (src, insn); |