aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-predcom.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@linaro.org>2018-01-12 14:48:35 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2018-01-12 14:48:35 +0000
commitcf736b092afeabe90680443794eb384a9f930cd5 (patch)
tree5c168a8611a66b43606b53ed5a4a6de713be0fb2 /gcc/tree-predcom.c
parent825010bb37db90c97c9409d3407c8538e3246577 (diff)
downloadgcc-cf736b092afeabe90680443794eb384a9f930cd5.zip
gcc-cf736b092afeabe90680443794eb384a9f930cd5.tar.gz
gcc-cf736b092afeabe90680443794eb384a9f930cd5.tar.bz2
Handle poly_int vector sizes in get_vec_alignment_for_array_type
get_vectype_for_scalar_type returns a variable-length vector type for SVE, whereas get_vec_alignment_for_array_type assumed it would always be an INTEGER_CST. This is needed to build libstdc++-v3/src/closures.cc for SVE (and probably many other places besides -- this was just the first hit). 2018-01-12 Richard Sandiford <richard.sandiford@linaro.org> gcc/ * tree-vectorizer.c (get_vec_alignment_for_array_type): Handle polynomial type sizes. From-SVN: r256586
Diffstat (limited to 'gcc/tree-predcom.c')
0 files changed, 0 insertions, 0 deletions