c-common.c (warn_logical_operator): Remove unnecessary conditionals.
2009-05-19 Manuel López-Ibáñez <manu@gcc.gnu.org> * c-common.c (warn_logical_operator): Remove unnecessary conditionals. From-SVN: r147708
This commit is contained in:
parent
bbb9d91f19
commit
db91d9ef7b
@ -1,3 +1,8 @@
|
||||
2009-05-19 Manuel López-Ibáñez <manu@gcc.gnu.org>
|
||||
|
||||
* c-common.c (warn_logical_operator): Remove unnecessary
|
||||
conditionals.
|
||||
|
||||
2009-05-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* builtins.c (do_mpc_arg1): Separate MPFR/MPC C rounding types.
|
||||
|
@ -1788,10 +1788,7 @@ warn_logical_operator (location_t location, enum tree_code code, tree type,
|
||||
if (lhs && rhs && operand_equal_p (lhs, rhs, 0)
|
||||
&& merge_ranges (&in_p, &low, &high, in0_p, low0, high0,
|
||||
in1_p, low1, high1)
|
||||
&& 0 != (tem = build_range_check (type,
|
||||
lhs != 0 ? lhs
|
||||
: rhs != 0 ? rhs : integer_zero_node,
|
||||
in_p, low, high)))
|
||||
&& 0 != (tem = build_range_check (type, lhs, in_p, low, high)))
|
||||
{
|
||||
if (TREE_CODE (tem) != INTEGER_CST)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user