aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-01-09 00:05:12 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-01-09 00:05:12 +0000
commitfc490e0478f67c12e9662c177fed87f47456cea5 (patch)
tree28ec169a2fc7627e5f036ae29b2d01135b501992 /gcc/function.c
parent52af30719fde1430bd4c4a686fe4375be1a7b0cf (diff)
downloadgcc-fc490e0478f67c12e9662c177fed87f47456cea5.zip
gcc-fc490e0478f67c12e9662c177fed87f47456cea5.tar.gz
gcc-fc490e0478f67c12e9662c177fed87f47456cea5.tar.bz2
compiler: use int type for len & cap in slice value
Slice value expression has backend type a struct of a pointer and two ints. Make sure the len and cap are converted to int when creating slice value expression. Reviewed-on: https://go-review.googlesource.com/c/156897 From-SVN: r267745
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions