Commit 194c082f by Richard Kenner

(optimize_bit_field_compare): Add missing arg to const_binop.

From-SVN: r4344
parent 26a2bce5
/* Fold a constant sub-tree into a single node for C-compiler /* 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. This file is part of GNU CC.
...@@ -2376,7 +2376,7 @@ optimize_bit_field_compare (code, compare_type, lhs, rhs) ...@@ -2376,7 +2376,7 @@ optimize_bit_field_compare (code, compare_type, lhs, rhs)
rhs = fold (const_binop (BIT_AND_EXPR, rhs = fold (const_binop (BIT_AND_EXPR,
const_binop (LSHIFT_EXPR, const_binop (LSHIFT_EXPR,
convert (unsigned_type, rhs), convert (unsigned_type, rhs),
size_int (lbitpos)), size_int (lbitpos), 0),
mask, 0)); mask, 0));
return build (code, compare_type, return build (code, compare_type,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment