[all-commits] [llvm/llvm-project] 437543: [flang] Set the addendum when establishing pointer...

jeanPerier via All-commits all-commits at lists.llvm.org
Mon Nov 8 02:07:04 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 437543068935b718d4eac5702e04e8438820b4d2
      https://github.com/llvm/llvm-project/commit/437543068935b718d4eac5702e04e8438820b4d2
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2021-11-08 (Mon, 08 Nov 2021)

  Changed paths:
    M flang/runtime/descriptor.cpp

  Log Message:
  -----------
  [flang] Set the addendum when establishing pointer section in descriptor

If the source has an addendum, the descriptor that is being established
to describe a section over the source needs to copy the addendum so that
derived type information is correctly set in the descriptor being
established.

This allows namelist IO with derived type to work correctly.

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




More information about the All-commits mailing list