[all-commits] [llvm/llvm-project] 9bb31e: [Flang] Fix crash when a derived type with private...

Carlos Seo via All-commits all-commits at lists.llvm.org
Mon Aug 4 06:38:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9bb31e8f88ab49c3f983067540e553dd13fd3b42
      https://github.com/llvm/llvm-project/commit/9bb31e8f88ab49c3f983067540e553dd13fd3b42
  Author: Carlos Seo <carlos.seo at linaro.org>
  Date:   2025-08-04 (Mon, 04 Aug 2025)

  Changed paths:
    M flang/include/flang/Lower/ConvertType.h
    M flang/lib/Lower/ConvertExprToHLFIR.cpp
    M flang/lib/Lower/ConvertType.cpp
    A flang/test/Lower/derived-type-private.f90

  Log Message:
  -----------
  [Flang] Fix crash when a derived type with private attribute is specified in extends (#151051)

While lowering to HLFIR, when a parent type is private, its name is
mangled, so we need to get it from the parent symbol.

Fixes #120922



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list