[Bug c/65120] [5 Regression] Wlogical-not-parentheses should not warn about double exclamation !!
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 19 13:41:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65120
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-02-19
Known to work| |4.9.2
Target Milestone|--- |5.0
Summary|[gcc5] |[5 Regression]
|Wlogical-not-parentheses |Wlogical-not-parentheses
|should not warn about |should not warn about
|double exclamation !! |double exclamation !!
Ever confirmed|0 |1
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
testcase you can compile and which warns with -Wall
int a, b;
int main()
{
if (!!a == b)
return 1;
return 0;
}
More information about the Gcc-bugs
mailing list