aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorPeter Klausler <35819229+klausler@users.noreply.github.com>2023-12-26 15:44:31 -0800
committerGitHub <noreply@github.com>2023-12-26 15:44:31 -0800
commit9469dc38b01b857a6bef8a57480a30ddba61647d (patch)
treec9e2ca8940dc593413dd93568f807d0bc2debcf6 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parent7b50176805ff53994ab87bbce7c3b7840bbc85ab (diff)
downloadllvm-9469dc38b01b857a6bef8a57480a30ddba61647d.zip
llvm-9469dc38b01b857a6bef8a57480a30ddba61647d.tar.gz
llvm-9469dc38b01b857a6bef8a57480a30ddba61647d.tar.bz2
[flang][runtime] Handle unconsumed repeated list-directed input items (#75400)
If list-directed input contains a repeated item ("20*123.0") that is not fully consumed by the READ statement's data item list, the end of that READ statement was repositioning the input to the repeated value ("123.0"), leading to later confusion. Cancel the input item repetition during EndIoStatement() processing to prevent this misbehavior. Fixes llvm-test-suite/Fortran/gfortran/regression/list_read_4.f90.
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions