aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/expr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index a70545b..287cd28 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -10257,6 +10257,7 @@ do_store_flag (exp, target, mode, only_cheap)
);
if (! get_subtarget (subtarget)
+ || GET_MODE (subtarget) != operand_mode
|| ! safe_from_p (subtarget, inner, 1))
subtarget = 0;
@@ -10307,6 +10308,7 @@ do_store_flag (exp, target, mode, only_cheap)
preexpand_calls (exp);
if (! get_subtarget (target)
+ || GET_MODE (subtarget) != operand_mode
|| ! safe_from_p (subtarget, arg1, 1))
subtarget = 0;