aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/combine.c')
-rw-r--r--gcc/combine.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index f64feca..2e41a23 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -3702,7 +3702,12 @@ combine_simplify_rtx (x, op0_mode, last, in_dest)
}
if (temp)
- x = temp, code = GET_CODE (temp), op0_mode = VOIDmode;
+ {
+ x = temp;
+ code = GET_CODE (temp);
+ op0_mode = VOIDmode;
+ mode = GET_MODE (temp);
+ }
/* First see if we can apply the inverse distributive law. */
if (code == PLUS || code == MINUS