[all-commits] [llvm/llvm-project] 041080: [flang] Fix extent computation in finalization

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Mar 9 09:01:37 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 041080fc9b7a245967f512923dae9d6af7cfbc57
      https://github.com/llvm/llvm-project/commit/041080fc9b7a245967f512923dae9d6af7cfbc57
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-03-09 (Wed, 09 Mar 2022)

  Changed paths:
    M flang/runtime/derived.cpp

  Log Message:
  -----------
  [flang] Fix extent computation in finalization

The code that computed the extent of a dimension of a
non-allocatable/non-automatic component array during
finalization had a reversed subtraction; fix, and
use variables to make the code a little more readable.

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




More information about the All-commits mailing list