[all-commits] [llvm/llvm-project] c8b50b: [flang] Prevent character length setting with dang...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Mon May 8 16:57:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8b50b860068bb9116c17ad3d8b616285eb68c71
      https://github.com/llvm/llvm-project/commit/c8b50b860068bb9116c17ad3d8b616285eb68c71
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2023-05-08 (Mon, 08 May 2023)

  Changed paths:
    M flang/lib/Semantics/expression.cpp
    M flang/test/Evaluate/rewrite01.f90

  Log Message:
  -----------
  [flang] Prevent character length setting with dangling ac-do-variable.

This fixes LEN inquiry on array constructors where the length
expression includes references to the ac-do-variable.

Reviewed By: klausler

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




More information about the All-commits mailing list