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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-02-13
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.

Note we don't warn for "0 ? 32768 * 65536L < x : 1", because
c_parser_conditional_expression sets c_inhibit_evaluation_warnings if the cond
is truthvalue_false_node.  So I think we should do the same in
c_parser_if_statement.

Reply via email to