summaryrefslogtreecommitdiff
path: root/gcc/config/mmix
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-06 18:15:09 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-06 18:15:09 +0000
commitf5b2b469dbf33da1460f56d2d1b30faba0929c03 (patch)
tree23e0b2eac2c32417e2c90032ea07328df03321a4 /gcc/config/mmix
parent0c000b754b8472fde2ba74610b63d55e58e964c1 (diff)
downloadgcc-f5b2b469dbf33da1460f56d2d1b30faba0929c03.tar.gz
PR target/46739
* config/mmix/mmix.c (mmix_intval): Split shift count. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167509 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mmix')
-rw-r--r--gcc/config/mmix/mmix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/mmix/mmix.c b/gcc/config/mmix/mmix.c
index c0801163865..c96fdcb66a5 100644
--- a/gcc/config/mmix/mmix.c
+++ b/gcc/config/mmix/mmix.c
@@ -2747,7 +2747,7 @@ mmix_intval (rtx x)
retval |=
(unsigned HOST_WIDEST_INT) CONST_DOUBLE_HIGH (x)
- << (HOST_BITS_PER_LONG);
+ << (HOST_BITS_PER_LONG)/2 << (HOST_BITS_PER_LONG)/2;
}
else
retval = CONST_DOUBLE_HIGH (x);