r256151 - in /trunk/gcc: ChangeLog expr.c
rsandifo@gcc.gnu.org
rsandifo@gcc.gnu.org
Wed Jan 3 07:17:00 GMT 2018
Author: rsandifo
Date: Wed Jan 3 07:17:46 2018
New Revision: 256151
URL: https://gcc.gnu.org/viewcvs?rev=256151&root=gcc&view=rev
Log:
poly_int: expand_expr_real_2
This patch makes expand_expr_real_2 cope with polynomial mode sizes
when handling conversions involving a union type.
2018-01-03 Richard Sandiford <richard.sandiford@linaro.org>
Alan Hayward <alan.hayward@arm.com>
David Sherwood <david.sherwood@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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/expr.c
More information about the Gcc-cvs
mailing list