diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/combine.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 55e15d3..7d228e9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2003-03-21 Kazu Hirata <kazu@cs.umass.edu> + * combine.c (make_field_assignment): Fix a warning. + +2003-03-21 Kazu Hirata <kazu@cs.umass.edu> + * config/h8300/h8300.md (*insv_si_1_n_lshiftrt_16): New. 2003-03-21 Dale Johannesen <dalej@apple.com> diff --git a/gcc/combine.c b/gcc/combine.c index bbbb16e..0ea0382 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -7930,7 +7930,7 @@ make_field_assignment (x) && INTVAL (XEXP (assign, 1)) < HOST_BITS_PER_WIDE_INT && GET_CODE (src) == AND && GET_CODE (XEXP (src, 1)) == CONST_INT - && (INTVAL (XEXP (src, 1)) + && ((unsigned HOST_WIDE_INT) INTVAL (XEXP (src, 1)) == ((unsigned HOST_WIDE_INT) 1 << INTVAL (XEXP (assign, 1))) - 1)) src = XEXP (src, 0); |