On Wed, Jun 03, 2009 at 01:07:08PM -0700, Ian Lance Taylor wrote:
> > - unsigned int wordnum = (backwards ? nwords - i - 1 : i);
> > + unsigned int wordnum = (backwards
> > + ? GET_MODE_SIZE(fieldmode) / UNITS_PER_WORD
> > + - i - 1
Stelian Pop writes:
> On Wed, Jun 03, 2009 at 07:49:29PM +0200, Stelian Pop wrote:
>
>> I'm doing a port of gcc 4.3.3 on a custom architecture and I'm having trouble
>> when initializing the bit fields of a structure.
>
> Ok, after further analysis, it looks like a genuine bug in gcc,
> in store
On Wed, Jun 03, 2009 at 07:49:29PM +0200, Stelian Pop wrote:
> I'm doing a port of gcc 4.3.3 on a custom architecture and I'm having trouble
> when initializing the bit fields of a structure.
Ok, after further analysis, it looks like a genuine bug in gcc,
in store_bit_field_1(): when a field is
Hi,
I'm doing a port of gcc 4.3.3 on a custom architecture and I'm having trouble
when initializing the bit fields of a structure.
The testcase is based on a modified gcc torture testcase, the natural
registers are 16 bits, and long long is defined to be 64 bit wide:
struct itmp
{
long long i