Re: Possible bug: Unaligned bit-field address when predictive commoning.

2016-05-12 Thread Claudiu Zissulescu
On 12/05/16 12:37, Richard Biener wrote: On Thu, May 12, 2016 at 12:17 PM, Richard Biener wrote: On Thu, May 12, 2016 at 12:10 PM, Claudiu Zissulescu wrote: Hi, I've been trying the following simple test case on latest gcc, and it seems to produce unwanted unaligned accesses for bit-fields.

Re: Possible bug: Unaligned bit-field address when predictive commoning.

2016-05-12 Thread Richard Biener
On Thu, May 12, 2016 at 12:17 PM, Richard Biener wrote: > On Thu, May 12, 2016 at 12:10 PM, Claudiu Zissulescu > wrote: >> Hi, >> >> I've been trying the following simple test case on latest gcc, and it seems >> to produce unwanted unaligned accesses for bit-fields. >> >> Test cases: >> >> struc

Re: Possible bug: Unaligned bit-field address when predictive commoning.

2016-05-12 Thread Richard Biener
On Thu, May 12, 2016 at 12:10 PM, Claudiu Zissulescu wrote: > Hi, > > I've been trying the following simple test case on latest gcc, and it seems > to produce unwanted unaligned accesses for bit-fields. > > Test cases: > > struct lock_chain { > unsigned int irq_context: 2, > depth: 6, >

Possible bug: Unaligned bit-field address when predictive commoning.

2016-05-12 Thread Claudiu Zissulescu
Hi, I've been trying the following simple test case on latest gcc, and it seems to produce unwanted unaligned accesses for bit-fields. Test cases: struct lock_chain { unsigned int irq_context: 2, depth: 6, base: 24; }; struct lock_chain * foo (struct lock_chain *chain) { int i; f