public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #1574
@ 2022-10-12 10:14 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-10-12 10:14 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:3e7320510e7bb774295ecbd8089a9f51d6475959
commit 3e7320510e7bb774295ecbd8089a9f51d6475959
Merge: 06fe912b70b d4c07a9b47c
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date: Mon Oct 10 16:46:57 2022 +0000
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>
Diff:
gcc/rust/parse/rust-parse-impl.h | 15 +++++++++++----
gcc/testsuite/rust/compile/missing_closing_paren.rs | 3 +++
2 files changed, 14 insertions(+), 4 deletions(-)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-10-12 10:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-12 10:14 [gcc/devel/rust/master] Merge #1574 Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).