aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@linaro.org>2017-12-21 07:01:10 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2017-12-21 07:01:10 +0000
commit5e48d89420f8b16c1eddb9b568c4fee74eefbd45 (patch)
tree73861bbd923cc748c738d57d075b97f0ca8b459a /gcc/fold-const.c
parenta20c5714c689bf1c0c7a2d2589b4df0eaa4635fb (diff)
downloadgcc-5e48d89420f8b16c1eddb9b568c4fee74eefbd45.zip
gcc-5e48d89420f8b16c1eddb9b568c4fee74eefbd45.tar.gz
gcc-5e48d89420f8b16c1eddb9b568c4fee74eefbd45.tar.bz2
poly_int: cfgexpand stack variables
This patch changes the type of stack_var::size from HOST_WIDE_INT to poly_uint64. The difference in signedness is because the field was set by: v->size = tree_to_uhwi (size); 2017-12-21 Richard Sandiford <richard.sandiford@linaro.org> Alan Hayward <alan.hayward@arm.com> David Sherwood <david.sherwood@arm.com> gcc/ * cfgexpand.c (stack_var::size): Change from a HOST_WIDE_INT to a poly_uint64. (add_stack_var, stack_var_cmp, partition_stack_vars) (dump_stack_var_partition): Update accordingly. (alloc_stack_frame_space): Take the size as a poly_int64 rather than a HOST_WIDE_INT. (expand_stack_vars, expand_one_stack_var_1): Handle polynomial sizes. (defer_stack_allocation, estimated_stack_frame_size): Likewise. (account_stack_vars, expand_one_var): Likewise. Return a poly_uint64 rather than a HOST_WIDE_INT. Co-Authored-By: Alan Hayward <alan.hayward@arm.com> Co-Authored-By: David Sherwood <david.sherwood@arm.com> From-SVN: r255922
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions