[Bug c/92210] no warning for invariable used in loop condition

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 16 20:07:00 GMT 2019


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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |easyhack
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-12-16
                 CC|                            |manu at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
This one would be useful to have and probably easy to implement based on
-Wunused-but-set-variable.

Easyhack: https://gcc.gnu.org/wiki/EasyHacks


More information about the Gcc-bugs mailing list