Re: [PATCH] Fix bitfield expansion (PR middle-end/52979)

2012-04-25 Thread Richard Guenther
On Wed, 25 Apr 2012, Jakub Jelinek wrote: > Hi! > > This patch fixes the attached execute/ testcases. In some cases > get_best_mode was ignoring bitregion_* restrictions and returned > mode that overlapped into adjacent non-bitfields, or store_bit_field_1 > for insv could ignore those restrictio

[PATCH] Fix bitfield expansion (PR middle-end/52979)

2012-04-25 Thread Jakub Jelinek
Hi! This patch fixes the attached execute/ testcases. In some cases get_best_mode was ignoring bitregion_* restrictions and returned mode that overlapped into adjacent non-bitfields, or store_bit_field_1 for insv could ignore those restrictions completely. After fixing that I've run into several