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-08-05 13:38:37 +0000
committerGitHub <noreply@github.com>2022-08-05 13:38:37 +0000
commit7beea479c5a1e7e415223f3fbd4e16c20c3214ec (patch)
treed0ad3824e02135310865254787603c99b27224f7 /gcc/rust/backend/rust-compile-expr.h
parent8725e324aad3eac0df074e5f0a494b5e3f332a31 (diff)
parentc86ac620c2bdb852b8078f37b898ab40d96ec0b0 (diff)
downloadgcc-7beea479c5a1e7e415223f3fbd4e16c20c3214ec.zip
gcc-7beea479c5a1e7e415223f3fbd4e16c20c3214ec.tar.gz
gcc-7beea479c5a1e7e415223f3fbd4e16c20c3214ec.tar.bz2
Merge #1437
1437: Array index access does not need to unsize to a slice for access r=philberty a=philberty When we define the core code for SliceIndex access its possible for an array to be fully coerced into a slice DST and follow the normal slice index access which removes support for GCC -Warray-index checks and generates unnessecary code for array access. Fixes #1436 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