Re: [PATCH] Fix gimple store merging (PR tree-optimization/78436)

2016-11-21 Thread Richard Biener
On Mon, 21 Nov 2016, Jakub Jelinek wrote: > Hi! > > The >if (!BYTES_BIG_ENDIAN) > -shift_bytes_in_array (tmpbuf, byte_size, shift_amnt); > +{ > + shift_bytes_in_array (tmpbuf, byte_size, shift_amnt); > + if (shift_amnt == 0) > + byte_size--; > +} > hunk below is th

[PATCH] Fix gimple store merging (PR tree-optimization/78436)

2016-11-21 Thread Jakub Jelinek
Hi! The if (!BYTES_BIG_ENDIAN) -shift_bytes_in_array (tmpbuf, byte_size, shift_amnt); +{ + shift_bytes_in_array (tmpbuf, byte_size, shift_amnt); + if (shift_amnt == 0) + byte_size--; +} hunk below is the actual fix for the PR, where we originally store: 8-bit 0 at of