stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size...
authorStephane Carrez <stcarrez@worldnet.fr>
Thu, 14 Oct 1999 10:21:27 +0000 (12:21 +0200)
committerJeff Law <law@gcc.gnu.org>
Thu, 14 Oct 1999 10:21:27 +0000 (04:21 -0600)
commit9180cca3e10d1001bd99afb8a2544405d688d2e5
tree876b4e77c1c1ce12b309b934741da38cfaf70d54
parent25238622ec79cceb912a1382ff9afffb680aea0a
stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size...

        * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
        check for member bit-size overflow and use var_size if it occurs.
        (layout_record): Use bitsize_int() to define the type size in bits.
        Likewise for computation and assignment to DECL_FIELD_BITPOS.
        (layout_decl): Likewise when assigning to DECL_SIZE.

From-SVN: r29969
gcc/ChangeLog
gcc/stor-layout.c