[all-commits] [llvm/llvm-project] 53f036: [flang] Fix spurious error on defined assignment i...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue May 13 07:49:16 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 53f0367ab0fa7e958f42fc07ceb9c38b9b9c74f2
      https://github.com/llvm/llvm-project/commit/53f0367ab0fa7e958f42fc07ceb9c38b9b9c74f2
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-05-13 (Tue, 13 May 2025)

  Changed paths:
    M flang/include/flang/Evaluate/tools.h
    M flang/lib/Evaluate/tools.cpp
    M flang/lib/Semantics/assignment.cpp
    M flang/lib/Semantics/check-deallocate.cpp
    M flang/lib/Semantics/check-declarations.cpp
    M flang/lib/Semantics/definable.cpp
    M flang/lib/Semantics/definable.h
    M flang/lib/Semantics/expression.cpp
    M flang/test/Semantics/assign11.f90
    A flang/test/Semantics/bug139129.f90
    M flang/test/Semantics/call28.f90
    M flang/test/Semantics/deallocate07.f90
    M flang/test/Semantics/declarations05.f90

  Log Message:
  -----------
  [flang] Fix spurious error on defined assignment in PURE (#139186)

An assignment to a whole polymorphic object in a PURE subprogram that is
implemented by means of a defined assignment procedure shouldn't be
subjected to the same definability checks as it would be for an
intrinsic assignment (which would also require it to be allocatable).

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



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