https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113305

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>:

https://gcc.gnu.org/g:9935667a69896865b848dfa690f94c9c693a48a3

commit r14-7226-g9935667a69896865b848dfa690f94c9c693a48a3
Author: Harald Anlauf <anl...@gmx.de>
Date:   Fri Jan 12 19:51:11 2024 +0100

    Fortran: annotations for DO CONCURRENT loops [PR113305]

    gcc/fortran/ChangeLog:

            PR fortran/113305
            * gfortran.h (gfc_loop_annot): New.
            (gfc_iterator, gfc_forall_iterator): Use for annotation control.
            * array.cc (gfc_copy_iterator): Adjust.
            * gfortran.texi: Document annotations IVDEP, UNROLL n, VECTOR,
            NOVECTOR as applied to DO CONCURRENT.
            * parse.cc (parse_do_block): Parse annotations IVDEP, UNROLL n,
            VECTOR, NOVECTOR as applied to DO CONCURRENT.  Apply UNROLL only to
            first loop control variable.
            * trans-stmt.cc (iter_info): Use gfc_loop_annot.
            (gfc_trans_simple_do): Adjust.
            (gfc_trans_forall_loop): Annotate loops with IVDEP, UNROLL n,
            VECTOR, NOVECTOR as needed for DO CONCURRENT.
            (gfc_trans_forall_1): Handle loop annotations.

    gcc/testsuite/ChangeLog:

            PR fortran/113305
            * gfortran.dg/do_concurrent_7.f90: New test.

Reply via email to