[Bug c/69602] [6 Regresion] over-ambitious logical-op warning on EAGAIN vs EWOULDBLOCK

2016-02-01 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69602

Andrew Pinski  changed:

   What|Removed |Added

   Keywords||diagnostic
   Target Milestone|--- |6.0
Summary|over-ambitious logical-op   |[6 Regresion]
   |warning on EAGAIN vs|over-ambitious logical-op
   |EWOULDBLOCK |warning on EAGAIN vs
   ||EWOULDBLOCK

[Bug c/69602] [6 Regresion] over-ambitious logical-op warning on EAGAIN vs EWOULDBLOCK

2016-02-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69602

Marek Polacek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2016-02-01
 CC||mpolacek at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Marek Polacek  ---
Confirmed, though there are other PRs similar in nature.  Fixing this isn't
trivial at all.  E.g. -Wduplicated-cond has the same problem -- that's the
reason these warnings aren't enabled by -Wall/-Wextra. :(