aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-expr.h
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-05-05 15:59:54 +0000
committerGitHub <noreply@github.com>2022-05-05 15:59:54 +0000
commitc936fd32559244c7c71137a743a22cb8af9edac8 (patch)
treeddb5eb411683a12aa9996566605566f4a5c6b3a6 /gcc/rust/backend/rust-compile-expr.h
parentaf031b081fcd26f9fcb3e4a561f5a3d98158e163 (diff)
parentf5bceb679420b999aa63c1b34dd0e0075cf9c5fd (diff)
downloadgcc-c936fd32559244c7c71137a743a22cb8af9edac8.zip
gcc-c936fd32559244c7c71137a743a22cb8af9edac8.tar.gz
gcc-c936fd32559244c7c71137a743a22cb8af9edac8.tar.bz2
Merge #1217
1217: Fix size used in unsized adjustments r=philberty a=philberty When we coerce from an array to a slice we take the full capacity of the array as the size to the FatPtr slice object but this was off by one. This The TYPE_MAX_VALUE is not the correct method of accessing this but instead it needs to take into account other values to get the correct HOST_WIDE_INT Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.h')
0 files changed, 0 insertions, 0 deletions