c-typeck.c (build_binary_op): Warn about comparing signed vs unsigned if...
authorPaul Eggert <eggert@twinsun.com>
Sat, 27 Sep 1997 03:46:35 +0000 (03:46 +0000)
committerJeff Law <law@gcc.gnu.org>
Sat, 27 Sep 1997 03:46:35 +0000 (21:46 -0600)
commit407cb092e3216d372d9fa3120e531829448f0bbc
tree9364040c5ea8353e79b03373275054360d7f64c3
parent3ba104945bc26252fbe5bb6cbeb67a5a33cf90f2
c-typeck.c (build_binary_op): Warn about comparing signed vs unsigned if...

        * c-typeck.c (build_binary_op): Warn about comparing signed vs
        unsigned if -W is specified and -Wno-sign-compare is not.
        * c-decl.c (warn_sign_compare): Initialize to -1.
        (c_decode_option): -Wall no longer implies -Wsign-compare.

From-SVN: r15739
gcc/ChangeLog
gcc/c-decl.c
gcc/c-typeck.c