https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45780
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #6 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Uroš Bizjak from comment #0) > Pasted from the thread that introduced _Bool in place of "GCC bool": > > <quote> > > > >> It can be done ultimately, but as a prerequisite, we should have > > >> warnings in -Wextra for all of > > >> > > >> ? boolvar++; ++boolvar; > > >> ? boolvar--; --boolvar; > > >> ? boolvar = nonbool; > > >> ? boolvar & nonbool; boolvar &= nonbool; > > >> ? boolvar | nonbool; boolvar |= nonbool; > > >> ? boolvar ^ nonbool; boolvar ^= nonbool; > > > > > > Fair enough. I have CCed Manuel, perhaps he is interested in this warning. > > cc-ing him on this, too