[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:14:51 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108079
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Seems to have started with r6-1401-gd7438551ff5ffa0afeca2aa3efd13035b26bee34
One of the warnings is diagnosed by the FE (from pop_scope/poplevel),
the other by cgraphunit (check_global_declaration).
More information about the Gcc-bugs
mailing list