diff options
author | Philip Herron <herron.philip@googlemail.com> | 2025-03-28 18:06:14 +0000 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-31 21:07:26 +0200 |
commit | 2d8f37c9a59ca5dd98dc77fc13fb83328adcf317 (patch) | |
tree | 4c5649f98612e330ffad8194934666953987735b /gcc/testsuite/gcc.dg/cpp/paste12-2.c | |
parent | e0df215ca50c2bd2a0ccc103484b629d2fbd43ec (diff) | |
download | gcc-2d8f37c9a59ca5dd98dc77fc13fb83328adcf317.zip gcc-2d8f37c9a59ca5dd98dc77fc13fb83328adcf317.tar.gz gcc-2d8f37c9a59ca5dd98dc77fc13fb83328adcf317.tar.bz2 |
gccrs: fix crash in parse repr options and missing delete call
Fixes Rust-GCC#3606
gcc/rust/ChangeLog:
* typecheck/rust-hir-type-check-base.cc (TypeCheckBase::parse_repr_options):
check for null and empty and add missing delete call
gcc/testsuite/ChangeLog:
* rust/compile/issue-3606.rs: New test.
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/paste12-2.c')
0 files changed, 0 insertions, 0 deletions