https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84212

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |msebor at gcc dot 
gnu.org

--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
You're right.  I fixed it for bug 78768 in r244326 (-Walloca-larger-than and
-Wformat-overflow et al.) but missed -Wstringop-overflow.  Let me take care of
this.

I wonder if LTO should be implied for all warnings to avoid these mistakes.

Alternatively, have a script check to make sure that middle-end warnings are
enabled for in the .opt file(s), run it for each build and fail if not.

Reply via email to