https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45780
--- Comment #7 from Eric Gallager ---
(In reply to Uroš Bizjak from comment #0)
> > >> It can be done ultimately, but as a prerequisite, we should have
> > >> warnings in -Wextra for all of
> > >>
> > >> ? boolvar++; ++boolvar;
> > >> ? boolvar--
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45780
Eric Gallager changed:
What|Removed |Added
CC||manu at gcc dot gnu.org
--- Comment #6 f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45780
--- Comment #5 from Marek Polacek ---
I think -Wbool-arith makes sense as a separate option. While -Wc90-c99-compat
warns about any use of bool (in a declaration, cast, ...), -Wbool-arith would
only warn about suspicious uses of boolean vars.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45780
--- Comment #4 from Eric Gallager ---
(In reply to Marek Polacek from comment #3)
> (In reply to Eric Gallager from comment #2)
> > The -Wc90-c99-compat that made it into gcc5 currently warns about
> > any usage of bool whatsoever, not just the s
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45780
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45780
Eric Gallager changed:
What|Removed |Added
CC||egall at gwmail dot gwu.edu
--- Comment
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45780
Eric Blake changed:
What|Removed |Added
CC||ericb at gcc dot gnu.org
--- Comment #1 from
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45780
Uros Bizjak changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|