summaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-21 21:42:05 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-21 21:42:05 +0000
commite91bf119ba2d14ab7c7a667f4996e36d534f1eb0 (patch)
tree829fdac40aad92c0bb3ebff2c1adc8ac85b2f4db /gcc/combine.c
parentacb9f2e9a631a3de766c21ed6af8adc4aeae7d5b (diff)
downloadgcc-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/combine.c')
-rw-r--r--gcc/combine.c2
1 files changed, 1 insertions, 1 deletions
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);