aboutsummaryrefslogtreecommitdiff
path: root/gcc/regset.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2020-11-28 06:48:54 -0800
committerIan Lance Taylor <iant@golang.org>2020-11-30 12:22:14 -0800
commit9ebad4b01c22d4c03a3552fd6b0e86c9de0ce6bd (patch)
treeff2741f17fb80f494bd1ce08b2b31e8605e0c90d /gcc/regset.h
parente848a83f46f15280ad654f05545cc5ec4f5b8e50 (diff)
downloadgcc-9ebad4b01c22d4c03a3552fd6b0e86c9de0ce6bd.zip
gcc-9ebad4b01c22d4c03a3552fd6b0e86c9de0ce6bd.tar.gz
gcc-9ebad4b01c22d4c03a3552fd6b0e86c9de0ce6bd.tar.bz2
compiler, runtime: check len/cap for append(s, make(T, l)...)
The overflow checks done in growslice always reported an error for the capacity argument, even if it was the length argument that overflowed. This change lets the code pass the current issue4085b.go test. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/273806
Diffstat (limited to 'gcc/regset.h')
0 files changed, 0 insertions, 0 deletions