Le 21/01/2012 03:37, Alan Modra a écrit :
>> The problem occurs when value is a REG and bitsize > BITS_PER_WORD. This
>> is because wordnum, which is used to get the subword of value, is
>> incorrectly computed, in BIG_ENDIAN, wrt the number of words needed by
>> bitsize instead of the number of w
On Wed, Jan 18, 2012 at 12:48:45PM +0100, Aurelien Buhrig wrote:
> The problem occurs when value is a REG and bitsize > BITS_PER_WORD. This
> is because wordnum, which is used to get the subword of value, is
> incorrectly computed, in BIG_ENDIAN, wrt the number of words needed by
> bitsize instead
Hi,
I've found a bug in store_bit_field_1 for BIG_ENDIAN targets whose words
are HI. The testcase is execute.exp=bitfld-3.c for my target (which is
not public).
It occurs on 4.6.1 release, but seem to be present in trunk (looking at
the code, not executed).
The problem occurs when value is a REG