Re: [PATCH] add -Wstringop-overflow to LTO options (PR 84212)

2018-02-08 Thread Richard Biener
On Thu, Feb 8, 2018 at 4:08 AM, Martin Sebor wrote: > I went ahead and changed all the options on the list below > to include LTO and tested the attached patch by configuring > with --with-build-config=bootstrap-lto --disable-werror and > making profiledbootstrap. Attached, besides the patch, is

Re: [PATCH] add -Wstringop-overflow to LTO options (PR 84212)

2018-02-07 Thread Martin Sebor
I went ahead and changed all the options on the list below to include LTO and tested the attached patch by configuring with --with-build-config=bootstrap-lto --disable-werror and making profiledbootstrap. Attached, besides the patch, is also the breakdown of warnings. The interesting column is t

[PATCH] add -Wstringop-overflow to LTO options (PR 84212)

2018-02-07 Thread Martin Sebor
In PR 84212 the reporter asks why -Wno-stringop-overflow has no effect during LTO linking. It turns out that the reason is the same as in bug 78768: the specification in the c.opt file is missing LTO among the languages. The attached patch adds LTO to it and to -Wstringop-truncation. Bootstrapp