OSDN Git Service

(optimize_bit_field_compare): Add missing arg to const_binop.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 May 1993 22:16:52 +0000 (22:16 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 May 1993 22:16:52 +0000 (22:16 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4344 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/fold-const.c

index 5845489..28a6a76 100644 (file)
@@ -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,