[Bug c/60759] -Wlogical-op should perhaps warn about two-way implicit conversions

2014-04-07 Thread giuliano.procida at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60759 --- Comment #3 from Giuliano Procida --- I believe the clang warning is: foo.c:1:18: warning: use of logical '||' with constant operand [-Wconstant-logical-operand] static int x = 2 || 3; ^ ~ foo.c:1:18: note: use '|' for a bit

[Bug c/60759] -Wlogical-op should perhaps warn about two-way implicit conversions

2014-04-04 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60759 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Comment

[Bug c/60759] -Wlogical-op should perhaps warn about two-way implicit conversions

2014-04-04 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60759 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment #