aboutsummaryrefslogtreecommitdiff
path: root/gcc/vec.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2016-12-15 23:44:13 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2016-12-15 23:44:13 +0000
commit63ba3ad3edb8d854e03a5d684636d2ee90dc9b05 (patch)
treeaabc663b0ef6421ac37e7f6488b5d000baf593f0 /gcc/vec.h
parent62afb87d9c466ab33767fad6d74133a4ad925f52 (diff)
downloadgcc-63ba3ad3edb8d854e03a5d684636d2ee90dc9b05.zip
gcc-63ba3ad3edb8d854e03a5d684636d2ee90dc9b05.tar.gz
gcc-63ba3ad3edb8d854e03a5d684636d2ee90dc9b05.tar.bz2
compiler: fix off-by-1 array type len in Type::gc_symbol_constructor
Array type being built to hold GC var initializer was being created with an extra/unneeded slot. Fix up the code to insure that the array length matches the length of the initializer list. Reviewed-on: https://go-review.googlesource.com/34413 From-SVN: r243731
Diffstat (limited to 'gcc/vec.h')
0 files changed, 0 insertions, 0 deletions