From: Tom Wood Date: Wed, 22 Apr 1992 10:20:05 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: misc/cutover-egcs-0~13116 X-Git-Url: https://gcc.gnu.org/git/?a=commitdiff_plain;h=13837058c109dd5915b4003bc903277417982ddb;p=gcc.git *** empty log message *** From-SVN: r815 --- diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 80e329a37e18..c620a220f831 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -3486,7 +3486,7 @@ fold (expr) { case 0: /* Always false. */ - return convert (type, integer_zero_node); + return omit_one_operand (type, integer_zero_node, arg0); case 1: code = LT_EXPR; break; @@ -3507,10 +3507,12 @@ fold (expr) break; case 7: /* Always true. */ - return convert (type, integer_one_node); + return omit_one_operand (type, integer_one_node, arg0); } - return fold (build (code, type, cval1, cval2)); + return omit_one_operand (type, + fold (build (code, type, cval1, cval2)), + arg0); } } }