OSDN Git Service

* cppexp.c: When forcing unsigned comparisons, cast both sides
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 Oct 1998 00:05:11 +0000 (00:05 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 Oct 1998 00:05:11 +0000 (00:05 +0000)
commit50720dba3f1860e118c1b4b030a06f71f5e800d0
tree2f9de21a1e1e04335878526769ff5fd361b7abd4
parent053ec0a10583ccc6b8090c98aaef7529ea450e78
    * cppexp.c: When forcing unsigned comparisons, cast both sides
        of the operation.
        * cpphash.h: Move static declaration of hashtab[]...
        * cpphash.c: ...here.
        * cpplib.c: Cast difference of two pointers to size_t before
        comparing it to size_t.  Cast signed to unsigned
        before comparing to size_t. (FIXME: struct argdata should use
        unsigned buffer sizes.)
        * cpplib.h (struct cpp_reader): Declare token_buffer_size as
        unsigned int. (CPP_WRITTEN): Cast return value to size_t.
        (CPP_RESERVE): Parenthesize N for evaluation order, cast to
        size_t before comparison.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22980 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cppexp.c
gcc/cpphash.c
gcc/cpphash.h
gcc/cpplib.c
gcc/cpplib.h