diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-05-28 23:44:57 -0400 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-05-30 08:33:50 +0000 |
commit | 0162ff3900ae032958d16c0a4af6c76ca3dd4335 (patch) | |
tree | 0f425776e9a63efc548ca2a2d05bf6f9771b45ab /gcc/gimple-range-edge.cc | |
parent | 2d806801404fc7628a3d022da92b73cd06197f49 (diff) | |
download | gcc-0162ff3900ae032958d16c0a4af6c76ca3dd4335.zip gcc-0162ff3900ae032958d16c0a4af6c76ca3dd4335.tar.gz gcc-0162ff3900ae032958d16c0a4af6c76ca3dd4335.tar.bz2 |
Fix handling of single fragments in repetitions
gcc/rust/ChangeLog:
* expand/rust-macro-substitute-ctx.cc
(SubstituteCtx::check_repetition_amount):
Ignore single fragments while checking repetition amount.
gcc/testsuite/ChangeLog:
* rust/compile/issue-2207.rs: New test.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/gimple-range-edge.cc')
0 files changed, 0 insertions, 0 deletions