[all-commits] [llvm/llvm-project] da3e47: [flang] Avoid double finalization in Assign

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


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

  Changed paths:
    M flang/runtime/assign.cpp

  Log Message:
  -----------
  [flang] Avoid double finalization in Assign

First call to Assign is issuing finalization for the
LHS and its components. Avoid calling finalization for components
again when doing the component by component assignment.

Reviewed By: klausler

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




More information about the All-commits mailing list