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
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: giuliano.procida at googlemail dot com
Expressions of the form "a && b" or "a || b" that involve both implicit
bool->integer and implicit integer->b