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-01-07 10:28:29 +0000
committerGitHub <noreply@github.com>2022-01-07 10:28:29 +0000
commite082b6cfd0362b3bd8eacd65359812a0d34aa563 (patch)
tree195d331afa81d5d8bb484b93932ea8bde1fadc08 /gcc/rust/backend/rust-compile-expr.h
parent754af6737abd249fdf251a54f31deaff5bc4add1 (diff)
parent5b369a61484c52ea0298cfab11858c3fff8bcc00 (diff)
downloadgcc-e082b6cfd0362b3bd8eacd65359812a0d34aa563.zip
gcc-e082b6cfd0362b3bd8eacd65359812a0d34aa563.tar.gz
gcc-e082b6cfd0362b3bd8eacd65359812a0d34aa563.tar.bz2
Merge #859
859: Fix ICE in generic subsitution of enums containing dataless variants r=philberty a=philberty Dataless variants do not contain fields that can be substituted, which then hits an assertion on access of the fields for the variant. This patch adds a guard against the substitution of dataless variants. We could have removed the assertion which would have also been a good fix but keeping the assertion for now is very helpful in debugging issues. Fixs #851 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