Re: [PATCH] PR 78534 Reinstate better string copy algorithm

2018-01-30 Thread Steve Kargl
OK. Thought I already sent OK, but must of got side track with work. -- steve On Tue, Jan 30, 2018 at 06:25:31PM +0200, Janne Blomqvist wrote: > PING > > On Tue, Jan 23, 2018 at 3:31 PM, Janne Blomqvist > wrote: > > As part of the change to larger character lengths, the string copy > > algori

Re: [PATCH] PR 78534 Reinstate better string copy algorithm

2018-01-30 Thread Janne Blomqvist
PING On Tue, Jan 23, 2018 at 3:31 PM, Janne Blomqvist wrote: > As part of the change to larger character lengths, the string copy > algorithm was temporarily pessimized to get around some spurious > -Wstringop-overflow warnings. Having tried a number of variations of > this algorithm I have mana

[PATCH] PR 78534 Reinstate better string copy algorithm

2018-01-23 Thread Janne Blomqvist
As part of the change to larger character lengths, the string copy algorithm was temporarily pessimized to get around some spurious -Wstringop-overflow warnings. Having tried a number of variations of this algorithm I have managed to get it down to one spurious warning, only with -O1 optimization,