[all-commits] [llvm/llvm-project] e141e7: [flang] Fix character length calculation for Unico...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon May 23 17:48:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e141e719e166665ac7313eece4cb1c8e82b9ab45
      https://github.com/llvm/llvm-project/commit/e141e719e166665ac7313eece4cb1c8e82b9ab45
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-05-23 (Mon, 23 May 2022)

  Changed paths:
    M flang/runtime/type-info.cpp

  Log Message:
  -----------
  [flang] Fix character length calculation for Unicode component

The character length value in the derived type component information table
entry is already in units of characters, not bytes, so don't divide by the
per-character byte size.

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




More information about the All-commits mailing list