Commit 82f0e2cc by Richard Kenner

(expand_binop): Add missing test for VOIDmode before calling

convert_to_mode.

From-SVN: r8828
parent eac40081
......@@ -1512,7 +1512,8 @@ expand_binop (mode, binoptab, op0, op1, target, unsignedp, methods)
op1x = convert_to_mode (word_mode, op1, 1);
}
if (GET_MODE (op0) != mode)
if (GET_MODE (op0) != VOIDmode
&& GET_MODE (op0) != mode)
op0 = convert_to_mode (mode, op0, unsignedp);
/* Pass 1 for NO_QUEUE so we don't lose any increments
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment