* c-common.c (c_promoting_integer_type_p): New function, from the
commit7b050ce9bcb2fdc613285a4066a4573101dd8244
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 May 2001 00:09:50 +0000 (1 00:09 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 May 2001 00:09:50 +0000 (1 00:09 +0000)
tree760bc4e5b8f728cc9eb5eef6548a1c6aab26c188
parentae9675d4efeeea1e9d6946fcd2daeceba83db590
    * c-common.c (c_promoting_integer_type_p): New function, from the
        corpse of old macro.  Properly promote too-small enumerations and
        booleans.  Adjust all callers.
        * c-common.h (C_PROMOTING_INTEGER_TYPE_P): Remove.
        (c_promoting_integer_type_p): Declare.
        * c-decl.c: Adjust C_PROMOTING_INTEGER_TYPE_P invocations.
        * c-typeck.c: Likewise.
        (default_conversion): Remove now redundant boolean check.

        * cvt.c: Downcase C_PROMOTING_INTEGER_TYPE_P invocations.
        * decl.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_0-branch@41710 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-common.c
gcc/c-common.h
gcc/c-decl.c
gcc/c-typeck.c
gcc/cp/ChangeLog
gcc/cp/cvt.c
gcc/cp/decl.c