Allow variable-sized temporary variables in gimplify.c
authorRichard Sandiford <richard.sandiford@linaro.org>
Fri, 12 Jan 2018 14:48:00 +0000 (14:48 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 12 Jan 2018 14:48:00 +0000 (14:48 +0000)
commit825010bb37db90c97c9409d3407c8538e3246577
tree1041c74928517bf91e4b29ed5dfb33e7f4ac3aed
parent33b366c3d4e96c37b60d440edff64f915cc1aaaf
Allow variable-sized temporary variables in gimplify.c

This is needed to build libgfortran for SVE.  The OpenMP code needs
to create temporary vector variables, and the variables will therefore
be variable-sized for SVE.  Earlier patches made such variables work.

2018-01-12  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/
* gimplify.c (gimple_add_tmp_var_fn): Allow variables to have a
poly_uint64 size, rather than requiring an unsigned HOST_WIDE_INT size.
(gimple_add_tmp_var): Likewise.

From-SVN: r256585
gcc/ChangeLog
gcc/gimplify.c