https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120843
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #10 from anlauf at gcc dot gnu.org ---
(In reply to anlauf from comment #9)
> (In reply to GCC Commits from comment #6)
> > The master branch has been updated by Andre Vehreschild <[email protected]>:
> >
> > https://gcc.gnu.org/g:15413e05eb9cde976b8890cd9b597d0a41a8eb27
> >
> > commit r16-1967-g15413e05eb9cde976b8890cd9b597d0a41a8eb27
> > Author: Andre Vehreschild <[email protected]>
> > Date: Wed Jul 2 11:06:17 2025 +0200
> >
> > Fortran: Remove corank conformability checks [PR120843]
> >
> > Remove the checks on coranks conformability in expressions,
> > because there is nothing in the standard about it. When a coarray
> > has no coindexes it it treated like a non-coarray, when it has
> > a full-corank coindex its result is a regular array. So nothing
> > to check for corank conformability.
> >
> > PR fortran/120843
> >
> > gcc/fortran/ChangeLog:
> >
> > * resolve.cc (resolve_operator): Remove conformability check,
> > because it is not in the standard.
> >
> > gcc/testsuite/ChangeLog:
> >
> > * gfortran.dg/coarray/coindexed_6.f90: Enhance test to have
> > coarray components covered.
>
> This one also needs backporting to 15-branch. Otherwise we ICE on Toon's
> code.
Reopening so that it is not forgotten.