expr.c (get_inner_reference): Use sbitsizetype for type sizes.
authorJ"orn Rennecke <amylaar@cygnus.co.uk>
Sun, 1 Feb 1998 11:47:59 +0000 (11:47 +0000)
committerJeff Law <law@gcc.gnu.org>
Sun, 1 Feb 1998 11:47:59 +0000 (04:47 -0700)
commitf8dac6eb3f71d5810ff9c8b417d52e0d0a76fe3d
treee4c4d0cc8bf232b7a9de28f0621b20029848ddd8
parentf5426d1e9b4208ebbdd9cdc4c613f7fda9bc98ed
expr.c (get_inner_reference): Use sbitsizetype for type sizes.

        * expr.c (get_inner_reference): Use sbitsizetype for type sizes.
        * fold-const.c (size_int): Replace with
        (size_int_wide).
        (make_bit_field_ref): Use bitsize_int for bit position.
        * stor-layout.c (sizetype): Delete.
        (sizetype_tab, sbitsizetype, ubitsizetype): Declare.
        (layout_record, layout_union, layout_type):
        Use bitsize_int for bit size.
        (set_sizetype): New function.
        (make_signed_type, make_unsigned_type): Use it.
        * c-decl.c (init_decl_processing): Likewise.
        * tree.h (size_int): Don't delcare, #define.
        (size_int_wide, sizetype_tab, sbitsize, ubitsize): Declare.
        (set_sizetype): Declare.
        (bitsize_int, size_int_2, BITS_PER_UNIT_LOG, sizetype, bitsizetype):
        Define.
        * c-typeck.c (c_sizeof, c_sizeof_nowarn, c_size_in_bytes):
        Convert result to sizetype.
        (really_start_incremental_init, push_init_level):
        Set type of constructor_bit_index to sbitsizetype.
        (push_init_level): Use unsigned arithmetic to determine padding.
        (output_init_element): Likewise.

From-SVN: r17577
gcc/ChangeLog
gcc/LANGUAGES [new file with mode: 0644]
gcc/c-decl.c
gcc/c-typeck.c
gcc/expr.c
gcc/fold-const.c
gcc/stor-layout.c
gcc/tree.h