diff options
author | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-10-31 20:43:07 +0000 |
---|---|---|
committer | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-10-31 20:43:07 +0000 |
commit | b0c369a472f8a94fd14f5ce8fece6ae01c774ff4 (patch) | |
tree | 720bac507509d75c41662afad71eadcb9440e086 /gcc/expmed.c | |
parent | 69b9dd3de0453783014e1558a1f83dcbb483318c (diff) | |
download | gcc-b0c369a472f8a94fd14f5ce8fece6ae01c774ff4.tar.gz |
* expmed.c (store_bit_field): Check FUNCTION_ARG_REG_LITTLE_ENDIAN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58694 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r-- | gcc/expmed.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c index 730c4c1de03..6b365b9e0ad 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -404,6 +404,7 @@ store_bit_field (str_rtx, bitsize, bitnum, fieldmode, value, total_size) But as we have it, it counts within whatever size OP0 now has. On a bigendian machine, these are not the same, so convert. */ if (BYTES_BIG_ENDIAN + && !FUNCTION_ARG_REG_LITTLE_ENDIAN && GET_CODE (op0) != MEM && unit > GET_MODE_BITSIZE (GET_MODE (op0))) bitpos += unit - GET_MODE_BITSIZE (GET_MODE (op0)); |