aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-resolve-path.cc
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-12-15 22:32:42 +0000
committerGitHub <noreply@github.com>2021-12-15 22:32:42 +0000
commitde9bb867970b755eca6ff612daae801f120ee928 (patch)
treed14617885960c60ecb777993479bbe967302ec02 /gcc/rust/backend/rust-compile-resolve-path.cc
parent310968874db1902084012cf767ad0b6e93f028c2 (diff)
parent24dd9a6aef8493a46e61735b17c9c26bd7c164ef (diff)
downloadgcc-de9bb867970b755eca6ff612daae801f120ee928.zip
gcc-de9bb867970b755eca6ff612daae801f120ee928.tar.gz
gcc-de9bb867970b755eca6ff612daae801f120ee928.tar.bz2
Merge #831
831: Fix out-of-bounds in typechecking of ADTTypes r=philberty a=philberty In the case of an enum where there are more variants than the number of fields within any variant we end up hitting an out of bounds exception as we are using the wrong iterator on the fields during type checking. This also means we were missing all possible fields in the case during type checking. Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions