[all-commits] [llvm/llvm-project] 06d103: [flang] Correct bug in literal CHARACTER constant ...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Jun 30 01:10:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 06d103ff9553197f6d4d545366f4fa2996a82a10
      https://github.com/llvm/llvm-project/commit/06d103ff9553197f6d4d545366f4fa2996a82a10
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-06-30 (Thu, 30 Jun 2022)

  Changed paths:
    M flang/lib/Lower/ConvertExpr.cpp
    M flang/test/Lower/array-wide-char.f90

  Log Message:
  -----------
  [flang] Correct bug in literal CHARACTER constant names

The names of CHARACTER strings were being truncated leading to invalid
collisions and other failures. This change makes sure to use the entire
string as the seed for the unique name.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: jeanPerier

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

Co-authored-by: Eric Schweitz <eschweitz at nvidia.com>




More information about the All-commits mailing list