https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120843
--- Comment #4 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:1b0930e9046e0b6201fa03c2843f3b06e522acd1 commit r16-1885-g1b0930e9046e0b6201fa03c2843f3b06e522acd1 Author: Andre Vehreschild <ve...@gcc.gnu.org> Date: Fri Jun 27 14:39:13 2025 +0200 Fortran: Fix non-conformable corank on this_image ref [PR120843] PR fortran/120843 gcc/fortran/ChangeLog: * resolve.cc (resolve_operator): Report inconsistent coranks only when not referencing this_image. (gfc_op_rank_conformable): Treat coranks as inconformable only when a coindex other then implicit this_image is used. gcc/testsuite/ChangeLog: * gfortran.dg/coarray/coindexed_6.f90: New test.