Commit 1eca8b1e by Richard Kenner

(build_binary_op): Handle TRUTH_XOR_EXPR.

From-SVN: r2998
parent 772447c5
...@@ -2349,6 +2349,7 @@ build_binary_op (code, orig_op0, orig_op1, convert_p) ...@@ -2349,6 +2349,7 @@ build_binary_op (code, orig_op0, orig_op1, convert_p)
case TRUTH_ORIF_EXPR: case TRUTH_ORIF_EXPR:
case TRUTH_AND_EXPR: case TRUTH_AND_EXPR:
case TRUTH_OR_EXPR: case TRUTH_OR_EXPR:
case TRUTH_XOR_EXPR:
if ((code0 == INTEGER_TYPE || code0 == POINTER_TYPE || code0 == REAL_TYPE) if ((code0 == INTEGER_TYPE || code0 == POINTER_TYPE || code0 == REAL_TYPE)
&& (code1 == INTEGER_TYPE || code1 == POINTER_TYPE || code1 == REAL_TYPE)) && (code1 == INTEGER_TYPE || code1 == POINTER_TYPE || code1 == REAL_TYPE))
{ {
......
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