aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2019-11-08 09:06:50 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2019-11-08 09:06:50 +0000
commitbe5f7eccf766a4c3a59b821f77ce320001df838f (patch)
treeee509b6f5eec1502b7562e6c72ec021a316b84fc /gcc/function.c
parentf1e1ed3314b7c6308f64cbbcf6d1916e239c8e35 (diff)
downloadgcc-be5f7eccf766a4c3a59b821f77ce320001df838f.zip
gcc-be5f7eccf766a4c3a59b821f77ce320001df838f.tar.gz
gcc-be5f7eccf766a4c3a59b821f77ce320001df838f.tar.bz2
Handle POLY_INT_CSTs in declare_return_value
SVE allows variable-length vectors to be returned by value, which tripped the assert in declare_return_variable. 2019-11-08 Richard Sandiford <richard.sandiford@arm.com> gcc/ * tree-inline.c (declare_return_variable): Check for poly_int_tree_p instead of INTEGER_CST. gcc/testsuite/ * gcc.target/aarch64/sve/acle/general/inline_1.c: New test. From-SVN: r277956
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions