diff options
author | Philip Herron <herron.philip@googlemail.com> | 2024-02-03 16:32:13 +0000 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-02-07 12:40:22 +0100 |
commit | 1c649ac36f1eab8094fb0a697c001e064c031ac1 (patch) | |
tree | 19b0261d51cd86b1a0fb5b24d4351efb563d16a0 /gcc/gcc.cc | |
parent | 9fecac88d3ce37d3c2c483ea712e48baf904f27b (diff) | |
download | gcc-1c649ac36f1eab8094fb0a697c001e064c031ac1.zip gcc-1c649ac36f1eab8094fb0a697c001e064c031ac1.tar.gz gcc-1c649ac36f1eab8094fb0a697c001e064c031ac1.tar.bz2 |
gccrs: Fix ICE accessing empty vector without check
Fixes #2747
gcc/rust/ChangeLog:
* typecheck/rust-tyty-subst.cc (SubstitutionRef::get_mappings_from_generic_args): fix
gcc/testsuite/ChangeLog:
* rust/compile/issue-2747.rs: New test.
Diffstat (limited to 'gcc/gcc.cc')
0 files changed, 0 insertions, 0 deletions