diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-05-05 18:16:52 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-05-05 18:16:52 -0400 |
commit | 194c082fed560df8e159d72303bdd10c77c109ea (patch) | |
tree | 62a8d9a53977bc576cd1dbc9f20689b39a550780 | |
parent | 26a2bce562ced0d7580046658c6062e13c2492a2 (diff) | |
download | gcc-194c082fed560df8e159d72303bdd10c77c109ea.zip gcc-194c082fed560df8e159d72303bdd10c77c109ea.tar.gz gcc-194c082fed560df8e159d72303bdd10c77c109ea.tar.bz2 |
(optimize_bit_field_compare): Add missing arg to const_binop.
From-SVN: r4344
-rw-r--r-- | gcc/fold-const.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 5845489..28a6a76 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, |