Re: [committed] improve handling of offset wraparound in -Wstringop-overread

2020-09-02 Thread Christophe Lyon via Gcc-patches
On Wed, 2 Sep 2020 at 00:12, Martin Sebor via Gcc-patches wrote: > > ILP32 failures in a test added for the new -Wstringop-overread > option exposed an unnecessarily restrictive handling of offsets > in ranges with an upper bound that's apparently less than > the lower bound. I have relaxed the h

[committed] improve handling of offset wraparound in -Wstringop-overread

2020-09-01 Thread Martin Sebor via Gcc-patches
ILP32 failures in a test added for the new -Wstringop-overread option exposed an unnecessarily restrictive handling of offsets in ranges with an upper bound that's apparently less than the lower bound. I have relaxed the handling of this case to avoid these failures and improve the efficacy of bo