[all-commits] [llvm/llvm-project] 2d5733: [flang] Fix crash in HLFIR generation (#118399)

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Dec 3 12:12:09 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d57333da432921762323718351a21532867588c
      https://github.com/llvm/llvm-project/commit/2d57333da432921762323718351a21532867588c
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2024-12-03 (Tue, 03 Dec 2024)

  Changed paths:
    M flang/lib/Lower/ConvertExprToHLFIR.cpp

  Log Message:
  -----------
  [flang] Fix crash in HLFIR generation (#118399)

Structure constructors with multiple components would crash when
components were from parent types. The search for the right parent
component must be done anew for each component.

Fixes https://github.com/llvm/llvm-project/issues/118270,
https://github.com/llvm/llvm-project/issues/96994, and
https://github.com/llvm/llvm-project/issues/105848.



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