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

--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Andre Vehreschild
<ve...@gcc.gnu.org>:

https://gcc.gnu.org/g:67452737d8e6d2629104ac811eaf6ec8c1790614

commit r15-9935-g67452737d8e6d2629104ac811eaf6ec8c1790614
Author: Andre Vehreschild <ve...@gcc.gnu.org>
Date:   Fri Jun 27 15:31:21 2025 +0200

    Fortran: Ensure arguments in coarray call get unique components in add_data
[PR120847]

            PR fortran/120847

    gcc/fortran/ChangeLog:

            * coarray.cc (check_add_new_comp_handle_array): Make the count
            of components static to be able to create more than one.  Create
            an array component only for array expressions.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/coarray/coindexed_7.f90: New test.

    (cherry picked from commit ee31ab9b1950b7f47f030bda231ace34d187ae26)

Reply via email to