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

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

https://gcc.gnu.org/g:ee31ab9b1950b7f47f030bda231ace34d187ae26

commit r16-1891-gee31ab9b1950b7f47f030bda231ace34d187ae26
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.

Reply via email to