lvalue_p returns bool but was using 0/1 as return values. Bootstrapped/regtested on x86_64-linux, applying to trunk.
2016-09-16 Marek Polacek <pola...@redhat.com> * c-typeck.c (lvalue_p): Use true and false instead of 1 and 0. diff --git gcc/c/c-typeck.c gcc/c/c-typeck.c index 4dec397..059ad1f 100644 --- gcc/c/c-typeck.c +++ gcc/c/c-typeck.c @@ -4631,7 +4631,7 @@ lvalue_p (const_tree ref) case COMPOUND_LITERAL_EXPR: case STRING_CST: - return 1; + return true; case INDIRECT_REF: case ARRAY_REF: @@ -4647,7 +4647,7 @@ lvalue_p (const_tree ref) return TREE_CODE (TREE_TYPE (ref)) == ARRAY_TYPE; default: - return 0; + return false; } } Marek