typeck.c (build_binary_op_nodefault): Correctly place parens around && and || in expression.

�
	* typeck.c (build_binary_op_nodefault): Correctly place parens around
	&& and || in expression.

From-SVN: r18504
This commit is contained in:
Manfred Hollstein 1998-03-12 01:01:10 +00:00
parent 90b4710b24
commit bd2328c62a
1 changed files with 2 additions and 2 deletions

View File

@ -3822,10 +3822,10 @@ build_binary_op_nodefault (code, orig_op0, orig_op1, error_code)
else if ((resultcode == EQ_EXPR || resultcode == NE_EXPR)
&& ((op0_signed && TREE_CODE (orig_op1) == INTEGER_CST
&& int_fits_type_p (orig_op1,
signed_type (result_type))
signed_type (result_type)))
|| (op1_signed && TREE_CODE (orig_op0) == INTEGER_CST
&& int_fits_type_p (orig_op0,
signed_type (result_type))))))
signed_type (result_type)))))
/* OK */;
else
warning ("comparison between signed and unsigned");