https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95190
--- Comment #5 from Mario Charest <stayprivate at gmail dot com> --- On Tue, May 19, 2020 at 2:35 AM rguenth at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95190 > > --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- > This is new behavior for warnings in GCC 10 and now how all other > optimization > options behave - the option state is fixed per function at compile-time and > carried over to link-time. > > Indeed warning options are not mentioned in the docs, let me fix that. > Great! Thanks, may I suggest adding it the changes and portings web page. This new behavior may required tweaking of build files. > -- > You are receiving this mail because: > You reported the bug.