diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 658a342cdf8..50c9b83b428 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-02-16 James A. Morrison + + * fold-const.c (invert_truthvalue): : Call + constant_boolean_node. + 2005-02-16 David Edelsohn PR target/19019 diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 5e2a8682c09..27e16ae95cf 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -2936,8 +2936,7 @@ invert_truthvalue (tree arg) switch (code) { case INTEGER_CST: - return fold_convert (type, - build_int_cst (NULL_TREE, integer_zerop (arg))); + return constant_boolean_node (integer_zerop (arg), type); case TRUTH_AND_EXPR: return build2 (TRUTH_OR_EXPR, type,