[all-commits] [llvm/llvm-project] d2460d: [flang] Add co_sum to the list of intrinsics and u...

Katherine Rasmussen via All-commits all-commits at lists.llvm.org
Thu Jul 14 13:50:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d2460d90080f2ff8564ceed745998f821544ec98
      https://github.com/llvm/llvm-project/commit/d2460d90080f2ff8564ceed745998f821544ec98
  Author: Katherine Rasmussen <krasmussen at lbl.gov>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/test/Semantics/collectives01.f90
    A flang/test/Semantics/move_alloc.f90

  Log Message:
  -----------
  [flang] Add co_sum to the list of intrinsics and update test

Add the collective subroutine, co_sum, to the list of intrinsics.
In accordance with 16.9.50 and 16.9.137, add a check for and an
error if coindexed objects are being passed to certain arguments
in co_sum and in move_alloc. Add a semantics test to check that
this error is successfully caught in calls to move_alloc. Remove
the XFAIL directive, update the ERROR directives and add both
standard-conforming and non-standard conforming calls to the
semantics test for co_sum.

Reviewed By: jeanPerier

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




More information about the All-commits mailing list