[all-commits] [llvm/llvm-project] 825213: [flang] Lower struct ctor with character allocatab...

jeanPerier via All-commits all-commits at lists.llvm.org
Thu Jan 25 05:04:31 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8252137b9a6b909c308123f64a41d1fff6fdcbca
      https://github.com/llvm/llvm-project/commit/8252137b9a6b909c308123f64a41d1fff6fdcbca
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-01-25 (Thu, 25 Jan 2024)

  Changed paths:
    M flang/lib/Lower/ConvertExprToHLFIR.cpp
    M flang/test/Lower/structure-constructors-alloc-comp.f90

  Log Message:
  -----------
  [flang] Lower struct ctor with character allocatable components (#79179)

There is no need to gather the length parameters from the parameter
symbols when facing a deferred length allocatable components in a
structure constructor, the length is set as part of the assignment given
the value.

Remove the checks for derived type runtime info symbols, this is not
relevant for what is being tested here.




More information about the All-commits mailing list