[Bug gcov-profile/105210] gcc/auto-profile.cc:391:11: warning: variable 'level' set but not used

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Apr 10 21:58:53 GMT 2022


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |gcov-profile
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to David Binderman from comment #2)
> It seems that recent gcc trunk can't detect set-but-not-used in this code:

There is another bug about this already but I can't find that one right now; it
might have been closed as won't fix or invalid (I can't remember).


More information about the Gcc-bugs mailing list