diff options
Diffstat (limited to 'gcc/store-motion.c')
-rw-r--r-- | gcc/store-motion.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/store-motion.c b/gcc/store-motion.c index 8f8617cff37..61d0cba8159 100644 --- a/gcc/store-motion.c +++ b/gcc/store-motion.c @@ -560,9 +560,9 @@ find_moveable_store (rtx insn, int *regs_set_before, int *regs_set_after) return; /* If we are handling exceptions, we must be careful with memory references - that may trap. If we are not, the behavior is undefined, so we may just + that may trap. If we are not, the behavior is undefined, so we may just continue. */ - if (flag_non_call_exceptions && may_trap_p (dest)) + if (cfun->can_throw_non_call_exceptions && may_trap_p (dest)) return; /* Even if the destination cannot trap, the source may. In this case we'd |