diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-21 21:42:05 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-21 21:42:05 +0000 |
commit | e91bf119ba2d14ab7c7a667f4996e36d534f1eb0 (patch) | |
tree | 829fdac40aad92c0bb3ebff2c1adc8ac85b2f4db /gcc | |
parent | acb9f2e9a631a3de766c21ed6af8adc4aeae7d5b (diff) | |
download | gcc-e91bf119ba2d14ab7c7a667f4996e36d534f1eb0.tar.gz |
* combine.c (make_field_assignment): Fix a warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64680 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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 55e15d3ea61..7d228e9c268 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 bbbb16e92d9..0ea0382c9a8 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); |