https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77876
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW Assignee|mpolacek at gcc dot gnu.org |unassigned at gcc dot gnu.org --- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Clearly I never got to this PR. clang also issues the warning, and I think it'd be better to simply use '!' rather than '~'. I have no plans to change the warning, sorry.