[Bug c/108079] [10/11/12/13 Regression] -Wunused-variable gives misleading duplicate warning for unused static local variable

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 21 14:40:08 GMT 2022


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 54143
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54143&action=edit
gcc13-pr108079.patch

Untested fix.


More information about the Gcc-bugs mailing list