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

--- Comment #9 from anlauf at gcc dot gnu.org ---
(In reply to GCC Commits from comment #6)
> The master branch has been updated by Andre Vehreschild <ve...@gcc.gnu.org>:
> 
> https://gcc.gnu.org/g:15413e05eb9cde976b8890cd9b597d0a41a8eb27
> 
> commit r16-1967-g15413e05eb9cde976b8890cd9b597d0a41a8eb27
> Author: Andre Vehreschild <ve...@gcc.gnu.org>
> 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.

Reply via email to