Commit 31a7659b by John David Anglin Committed by Jeff Law

* expr.c (do_compare_and_jump): Add missing TYPE_MODE in statement.

From-SVN: r37862
parent 9f1bbeaa
2000-11-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
* expr.c (do_compare_and_jump): Add missing TYPE_MODE in statement.
2000-11-30 Joseph S. Myers <jsm28@cam.ac.uk>
* extend.texi: Update documentation for attributes.
......
......@@ -10199,7 +10199,8 @@ do_compare_and_jump (exp, signed_code, unsigned_code, if_false_label,
if (TREE_CODE (TREE_OPERAND (exp, 0)) == INTEGER_CST
&& (TREE_CODE (TREE_OPERAND (exp, 1)) != INTEGER_CST
|| (GET_MODE_BITSIZE (mode)
> GET_MODE_BITSIZE (TREE_TYPE (TREE_OPERAND (exp, 1))))))
> GET_MODE_BITSIZE (TYPE_MODE (TREE_TYPE (TREE_OPERAND (exp,
1)))))))
{
/* op0 might have been replaced by promoted constant, in which
case the type of second argument should be used. */
......
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