mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-18 10:00:35 +08:00
* expmed.c (store_bit_field): Check FUNCTION_ARG_REG_LITTLE_ENDIAN.
From-SVN: r58694
This commit is contained in:
parent
a543c709ab
commit
8efb33ec2d
@ -1,3 +1,7 @@
|
||||
2002-10-31 Steve Ellcey <sje@cup.hp.com>
|
||||
|
||||
* expmed.c (store_bit_field): Check FUNCTION_ARG_REG_LITTLE_ENDIAN.
|
||||
|
||||
2002-10-31 Steve Ellcey <sje@cup.hp.com>
|
||||
|
||||
* config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set for non-floats.
|
||||
|
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user