[all-commits] [llvm/llvm-project] ad3a97: [flang] Do not finalize pointer function result

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Feb 2 11:50:43 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad3a974b6908b444fa710d585b72611585dae2b9
      https://github.com/llvm/llvm-project/commit/ad3a974b6908b444fa710d585b72611585dae2b9
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-02-02 (Thu, 02 Feb 2023)

  Changed paths:
    M flang/lib/Lower/ConvertCall.cpp
    M flang/test/Lower/derived-type-finalization.f90

  Log Message:
  -----------
  [flang] Do not finalize pointer function result

According to 7.5.6.3 point 5, only nonpointer function result
need to be finalized. Update the condition to exclude pointer
function result.

Reviewed By: jeanPerier

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




More information about the All-commits mailing list