Re: [RFA] Improve initialization of objects when the initializer has trailing zeros.

2022-07-08 Thread Richard Biener via Gcc-patches
On Thu, Jul 7, 2022 at 4:46 PM Jeff Law via Gcc-patches wrote: > > This is an update to a patch originally posted by Takayuki Suwa a few > months ago. > > When we initialize an array from a STRING_CST we perform the > initialization in two steps. The first step copies the STRING_CST to > the dest

Re: [RFA] Improve initialization of objects when the initializer has trailing zeros.

2022-07-07 Thread Takayuki 'January June' Suwa via Gcc-patches
On 2022/07/07 23:46, Jeff Law wrote: > This is an update to a patch originally posted by Takayuki Suwa a few months > ago. > > When we initialize an array from a STRING_CST we perform the initialization > in two steps.  The first step copies the STRING_CST to the destination.  The > second step

[RFA] Improve initialization of objects when the initializer has trailing zeros.

2022-07-07 Thread Jeff Law via Gcc-patches
This is an update to a patch originally posted by Takayuki Suwa a few months ago. When we initialize an array from a STRING_CST we perform the initialization in two steps.  The first step copies the STRING_CST to the destination.  The second step uses clear_storage to initialize storage in th