From: Richard Kenner Date: Wed, 5 May 1993 22:16:52 +0000 (-0400) Subject: (optimize_bit_field_compare): Add missing arg to const_binop. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=194c082fed560df8e159d72303bdd10c77c109ea;p=gcc.git (optimize_bit_field_compare): Add missing arg to const_binop. From-SVN: r4344 --- diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 5845489d256..28a6a760c10 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -1,5 +1,5 @@ /* Fold a constant sub-tree into a single node for C-compiler - Copyright (C) 1987, 1988, 1992 Free Software Foundation, Inc. + Copyright (C) 1987, 1988, 1992, 1993 Free Software Foundation, Inc. This file is part of GNU CC. @@ -2376,7 +2376,7 @@ optimize_bit_field_compare (code, compare_type, lhs, rhs) rhs = fold (const_binop (BIT_AND_EXPR, const_binop (LSHIFT_EXPR, convert (unsigned_type, rhs), - size_int (lbitpos)), + size_int (lbitpos), 0), mask, 0)); return build (code, compare_type,