[all-commits] [llvm/llvm-project] ede421: [flang][runtime] Handle READ of non-UTF-8 data int...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Jun 23 10:02:33 PDT 2022

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

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

  Log Message:
  [flang][runtime] Handle READ of non-UTF-8 data into multi-byte CHARACTER

When a READ statement reads into a CHARACTER(2 or 4) variable from a
unit whose encoding is not UTF-8, don't copy bytes directly; they must
each be zero-extended.

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

More information about the All-commits mailing list