[all-commits] [llvm/llvm-project] 197196: [flang] Generate type info symbols outside of deri...

jeanPerier via All-commits all-commits at lists.llvm.org
Fri Jun 4 05:39:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1971960a6fed78d250c66906c804c6c41c86e3ec
      https://github.com/llvm/llvm-project/commit/1971960a6fed78d250c66906c804c6c41c86e3ec
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2021-06-04 (Fri, 04 Jun 2021)

  Changed paths:
    M flang/lib/Semantics/runtime-type-info.cpp
    M flang/test/Semantics/typeinfo01.f90

  Log Message:
  -----------
  [flang] Generate type info symbols outside of derived type scopes

A recent change was made in https://reviews.llvm.org/D101482 to cope
with kind parameters. It had the side effect of generating some type
info symbols inside derived type scopes. Derived type scope symbols
are meant for components, and other/later compilation phases might
choke when finding compiler generated symbols there that are not
components.

This patch preserves the fix from D101482 while still generating the
symbols outside of derived type scopes.

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




More information about the All-commits mailing list