aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-stmt.h
diff options
context:
space:
mode:
authorOwen Avery <powerboat9.gamer@gmail.com>2023-04-20 13:31:30 -0400
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:34:16 +0100
commitb911f7b85abd3bb96f35d1bd8075a07fd732c71a (patch)
tree22e06a053d1e5ed21d55054737c88c5bcebcd6e0 /gcc/rust/ast/rust-stmt.h
parentba534efbc00a4d1b45aea57b8eb35c82fe007780 (diff)
downloadgcc-b911f7b85abd3bb96f35d1bd8075a07fd732c71a.zip
gcc-b911f7b85abd3bb96f35d1bd8075a07fd732c71a.tar.gz
gcc-b911f7b85abd3bb96f35d1bd8075a07fd732c71a.tar.bz2
gccrs: Fix out of bounds indexing while expanding macros with repetition
gcc/rust/ChangeLog: * expand/rust-macro-substitute-ctx.cc (SubstituteCtx::substitute_repetition): Fix out-of-bounds. gcc/testsuite/ChangeLog: * rust/compile/macro52.rs: New test. Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/ast/rust-stmt.h')
0 files changed, 0 insertions, 0 deletions