summaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/combine.c')
-rw-r--r--gcc/combine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index 43820b244a7..a60f92e6eec 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -3706,6 +3706,7 @@ combine_simplify_rtx (x, op0_mode, last, in_dest)
{
x = apply_distributive_law (x);
code = GET_CODE (x);
+ op0_mode = VOIDmode;
}
/* If CODE is an associative operation not otherwise handled, see if we