diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2004-04-28 14:34:51 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@gcc.gnu.org> | 2004-04-28 14:34:51 +0000 |
commit | c2e2375e23164e8ae590c4b68d11fb767cf214b8 (patch) | |
tree | 62084e01f90563dcfc8da8e1cdb31d06b01375e3 /gcc/gcse.c | |
parent | 9e1622ed25936c398428b23f352e4f1f55de5424 (diff) | |
download | gcc-c2e2375e23164e8ae590c4b68d11fb767cf214b8.zip gcc-c2e2375e23164e8ae590c4b68d11fb767cf214b8.tar.gz gcc-c2e2375e23164e8ae590c4b68d11fb767cf214b8.tar.bz2 |
gcse.c (find_moveable_store): Do not accept store insns with REG_EH_REGION note.
* gcse.c (find_moveable_store): Do not accept store insns with
REG_EH_REGION note.
From-SVN: r81249
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -7175,6 +7175,11 @@ find_moveable_store (rtx insn, int *regs_set_before, int *regs_set_after) if (flag_non_call_exceptions && may_trap_p (dest)) return; + /* Even if the destination cannot trap, the source may. In this case we'd + need to handle updating the REG_EH_REGION note. */ + if (find_reg_note (insn, REG_EH_REGION, NULL_RTX)) + return; + ptr = ldst_entry (dest); if (!ptr->pattern_regs) ptr->pattern_regs = extract_mentioned_regs (dest); |