[all-commits] [llvm/llvm-project] 3ddfb6: [flang] Prevent crash from unfoldable TRANSFER() (...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed May 15 16:41:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ddfb6807e905868a3a9df71fa5ea87309181270
      https://github.com/llvm/llvm-project/commit/3ddfb6807e905868a3a9df71fa5ea87309181270
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
    M flang/lib/Evaluate/fold.cpp

  Log Message:
  -----------
  [flang] Prevent crash from unfoldable TRANSFER() (#92282)

When the MOLD= argument's type is polymorphic, the type of the result
cannot be known at compilation time, so the call cannot be folded even
when the SOURCE= is constant.

Fixes https://github.com/llvm/llvm-project/issues/92264.



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