fold-const.c (combine_comparisons, [...]): Use constant_boolean_node where appropriate.
authorRoger Sayle <roger@eyesopen.com>
Sun, 30 May 2004 22:23:19 +0000 (22:23 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Sun, 30 May 2004 22:23:19 +0000 (22:23 +0000)
commit1b0f3e79b1b3b9e96be90ec30fc6a142057e84ed
treef3558323670cd4f2721326e49c43e117833dbf67
parent29d64660c735aa0c52a29452342b631a09c1266e
fold-const.c (combine_comparisons, [...]): Use constant_boolean_node where appropriate.

* fold-const.c (combine_comparisons, optimize_bit_field_compare,
range_binop, fold_truthop, fold_binary_op_with_conditional_arg,
fold_mathfn_compare, fold_inf_compare, fold,
fold_relational_hi_lo, nondestructive_fold_binary_to_constant):
Use constant_boolean_node where appropriate.  Don't bother using
fold_convert on the second argument to omit_one_operand.

From-SVN: r82468
gcc/ChangeLog
gcc/fold-const.c