= build_type_variant (result_type,
TREE_READONLY (op1) || TREE_READONLY (op2),
TREE_THIS_VOLATILE (op1) || TREE_THIS_VOLATILE (op2));
-
- if (TREE_CODE (ifexp) == INTEGER_CST)
- return convert_and_check (result_type, integer_zerop (ifexp) ? op2 : op1);
if (result_type != TREE_TYPE (op1))
op1 = convert_and_check (result_type, op1);
}
}
#endif /* 0 */
+
+ if (TREE_CODE (ifexp) == INTEGER_CST)
+ return integer_zerop (ifexp) ? op2 : op1;
return fold (build (COND_EXPR, result_type, ifexp, op1, op2));
}