Re: [PATCH] Bug fix in store_bit_field_1 for big endian targets (issue 51893)

2012-03-28 Thread Richard Guenther
On Tue, 27 Mar 2012, Eric Botcazou wrote: > > Changelog: > > * expmed.c (store_bit_field_1): Fix wordnum value for big endian targets > > The author line was missing so I put: > > 2012-03-27 Aurelien Buhrig > > PR middle-end/51893 > * expmed.c (store_bit_field_1): Fix wordnum val

Re: [PATCH] Bug fix in store_bit_field_1 for big endian targets (issue 51893)

2012-03-27 Thread Eric Botcazou
> Changelog: > * expmed.c (store_bit_field_1): Fix wordnum value for big endian targets The author line was missing so I put: 2012-03-27 Aurelien Buhrig PR middle-end/51893 * expmed.c (store_bit_field_1): Fix wordnum value for big-endian targets. > Will this fix be ba

Re: [PATCH] Bug fix in store_bit_field_1 for big endian targets (issue 51893)

2012-03-26 Thread Aurelien Buhrig
>> Passes bootstrap and regression test powerpc64-linux. > > Thanks a lot, Alan! > > So, Aurelien, you only need to adjust the formatting of the patch and post a > ChangeLog entry along with it. TIA. > Thanks Alan! Bootstrap and regression test for m68k-elf ok, but I have trouble cross compi

Re: [PATCH] Bug fix in store_bit_field_1 for big endian targets (issue 51893)

2012-03-24 Thread Eric Botcazou
> Passes bootstrap and regression test powerpc64-linux. Thanks a lot, Alan! So, Aurelien, you only need to adjust the formatting of the patch and post a ChangeLog entry along with it. TIA. -- Eric Botcazou

Re: [PATCH] Bug fix in store_bit_field_1 for big endian targets (issue 51893)

2012-03-22 Thread Alan Modra
On Wed, Mar 21, 2012 at 10:53:07PM +0100, Eric Botcazou wrote: > > This patch (for 4.6) fixes a wrong subword index computation in > > store_bit_field_1 for big endian targets when value is at least 4 times > > bigger than a word (DI REG value with HI words). > > > > It fixes a regression on gcc.c-

Re: [PATCH] Bug fix in store_bit_field_1 for big endian targets (issue 51893)

2012-03-21 Thread Eric Botcazou
> This patch (for 4.6) fixes a wrong subword index computation in > store_bit_field_1 for big endian targets when value is at least 4 times > bigger than a word (DI REG value with HI words). > > It fixes a regression on gcc.c-torture/execute/bitfld-3.c for my current > backend port. > > http://gcc.

[PATCH] Bug fix in store_bit_field_1 for big endian targets (issue 51893)

2012-03-21 Thread Aurelien Buhrig
Hi, This patch (for 4.6) fixes a wrong subword index computation in store_bit_field_1 for big endian targets when value is at least 4 times bigger than a word (DI REG value with HI words). It fixes a regression on gcc.c-torture/execute/bitfld-3.c for my current backend port. http://gcc.gnu.org/b