diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-10-10 16:46:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-10 16:46:57 +0000 |
commit | 3e7320510e7bb774295ecbd8089a9f51d6475959 (patch) | |
tree | 945d1ce4d8a45e0ec32912c8b23883cc02ebb578 /gcc/rust/backend/rust-compile-struct-field-expr.h | |
parent | 06fe912b70bc21dd11e7279e29200431a5b50aa2 (diff) | |
parent | d4c07a9b47c7063a4e79b6b45edccd0e79249605 (diff) | |
download | gcc-3e7320510e7bb774295ecbd8089a9f51d6475959.zip gcc-3e7320510e7bb774295ecbd8089a9f51d6475959.tar.gz gcc-3e7320510e7bb774295ecbd8089a9f51d6475959.tar.bz2 |
Merge #1574
1574: fix ICE on missing closing paren r=dkm a=dkm
Fix crash (segfault) on a missing closing parenthesis when parsing the expressions in a block. The returned `expr` was missing a check before being used.
Add corresponding test.
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Co-authored-by: Marc Poulhiès <dkm@kataplop.net>
Diffstat (limited to 'gcc/rust/backend/rust-compile-struct-field-expr.h')
0 files changed, 0 insertions, 0 deletions