OSDN Git Service

* c-common.c (c_promoting_integer_type_p): New function, from the
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Apr 2001 23:59:10 +0000 (23:59 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Apr 2001 23:59:10 +0000 (23:59 +0000)
commitd7aeef064b119c2cf94d12caee985d48906522ee
tree1e7389002ae91d660ddd3c0a718444a33765d0ae
parent050a74c94d4a1b15c519caf043001f58fb84295e
    * 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/trunk@41709 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