parent
489e2090a4
commit
b16bd3ad93
|
@ -1942,7 +1942,7 @@ build_binary_op (code, orig_op0, orig_op1, convert_p)
|
|||
resultcode = RDIV_EXPR;
|
||||
else
|
||||
/* When dividing two signed integers, you have to promote to int.
|
||||
E.g. (short) -32868 / (short) -1 doesn't fit in a short. */
|
||||
E.g. (short) -32768 / (short) -1 doesn't fit in a short. */
|
||||
shorten = TREE_UNSIGNED (orig_op0);
|
||||
common = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue