expr.c (get_bit_range): Add OFFSET parameter and adjust BITPOS.
* expr.c (get_bit_range): Add OFFSET parameter and adjust BITPOS. Change type of BITOFFSET to signed. Make sure the lower bound of the computed range is non-negative by adjusting OFFSET and BITPOS. (expand_assignment): Adjust call to get_bit_range. From-SVN: r186110
Showing
gcc/testsuite/gnat.dg/pack18.adb
0 → 100644
gcc/testsuite/gnat.dg/pack18_pkg.ads
0 → 100644
Please
register
or
sign in
to comment