On 10/23/2017 11:35 AM, Richard Sandiford wrote: > This patch makes expand_expr_real_2 cope with polynomial mode sizes > when handling conversions involving a union type. > > > 2017-10-23 Richard Sandiford <richard.sandif...@linaro.org> > Alan Hayward <alan.hayw...@arm.com> > David Sherwood <david.sherw...@arm.com> > > gcc/ > * expr.c (expand_expr_real_2): When handling conversions involving > unions, apply tree_to_poly_uint64 to the TYPE_SIZE rather than > multiplying int_size_in_bytes by BITS_PER_UNIT. Treat GET_MODE_BISIZE > as a poly_uint64 too. OK. jeff