Hi Thomas,

Am 07.11.21 um 19:18 schrieb Thomas Koenig via Fortran:
Hello world,

the attached patches fix the name of the function argument to CO_REDUCE
to conform to Fortran 2018 instead of the TR.

This is a user-visible change, so I have put this both into changes.html
and porting_to.html.

Regression-tested.  OK for trunk?

Best regards

     Thomas

Author: Thomas Koenig <tkoe...@gcc.gnu.org>
Date:   2021-11-07 15:38:35 +0100

     Fix keyword name for co_reduce.

     gcc/fortran/ChangeLog:

             * intrinsic.c (add_subroutines): Change keyword "operator"
             to the correct one, "operation".
             * check.c (gfc_check_co_reduce): Change OPERATOR to
             OPERATION in error messages.

     gcc/testsuite/ChangeLog:

             * gfortran.dg/co_reduce_2.f90: New test.
             * gfortran.dg/coarray_collective_16.f90: Change OPERATOR
             to OPERATION.
             * gfortran.dg/coarray_collective_9.f90: Likewise.

     Co-authored by: Steve Kargl <st...@gcc.gnu.org>


Steve added an update to gcc/fortran/intrinsic.texi in the PR which is
missing here.

OK if it is committed with the above.

Thanks for the patch!

Harald

Reply via email to