[all-commits] [llvm/llvm-project] 850097: [flang][runtime] Don't loop in runtime if blank ap...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jun 13 16:31:09 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 850097d6dca6eec41e74f8823949f626735d00fe
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

  Changed paths:
    M flang/runtime/edit-input.cpp

  Log Message:
  [flang][runtime] Don't loop in runtime if blank appears in BOZ input

The code for scanning BOZ input allows for blanks and tabs to appear,
but can hang if they do and the BOZ input value is not followed by
extra valid digits; the repositioning for the second sweep simply
needed to be done in units of character, not valid digits.

Differential Revision: https://reviews.llvm.org/D127431

More information about the All-commits mailing list