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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-11-29
                 CC|                            |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1
      Known to fail|                            |4.9.3, 5.3.0, 6.2.0, 7.0

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed.  The last revision that emits the warnings below is r145245.  The
first one that doesn't is r145256:

cc1.145245: warnings being treated as errors
t.c: In function ‘testa’:
t.c:4: error: comparison is always true due to limited range of data type
t.c: In function ‘testb’:
t.c:13: error: comparison is always true due to limited range of data type
t.c: In function ‘testc’:
t.c:21: error: comparison is always true due to limited range of data type

Reply via email to