Re: [committed] adjust expected warnings to reflect max-object-size

2020-12-02 Thread Martin Sebor via Gcc-patches
On 12/2/20 1:31 PM, Jeff Law wrote: On 12/2/20 11:43 AM, Martin Sebor wrote: The r11-5622 change to -Wformat-overflow switched the warning to using the maximm object size limit used by the other overflow and out of bounds access warnings like -Wstringop-overflow. That in turn exposed a subtle

Re: [committed] adjust expected warnings to reflect max-object-size

2020-12-02 Thread Jeff Law via Gcc-patches
On 12/2/20 11:43 AM, Martin Sebor wrote: > The r11-5622 change to -Wformat-overflow switched the warning > to using the maximm object size limit used by the other overflow > and out of bounds access warnings like -Wstringop-overflow. > That in turn exposed a subtle off-by-one mistake in the form

Re: [committed] adjust expected warnings to reflect max-object-size

2020-12-02 Thread Jeff Law via Gcc-patches
On 12/2/20 11:43 AM, Martin Sebor wrote: > The r11-5622 change to -Wformat-overflow switched the warning > to using the maximm object size limit used by the other overflow > and out of bounds access warnings like -Wstringop-overflow. > That in turn exposed a subtle off-by-one mistake in the form