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

Katherine Rasmussen via All-commits all-commits at lists.llvm.org
Thu Sep 8 09:40:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2944f8ef049fa83ee96159c390fa893f251558da
      https://github.com/llvm/llvm-project/commit/2944f8ef049fa83ee96159c390fa893f251558da
  Author: Katherine Rasmussen <krasmussen at lbl.gov>
  Date:   2022-09-08 (Thu, 08 Sep 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
standard-conforming and non-standard conforming calls in the
semantics test for co_sum.

Reviewed By: jeanPerier

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




More information about the All-commits mailing list