https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77652
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|WAITING |RESOLVED --- Comment #9 from anlauf at gcc dot gnu.org --- As the inquiry to SC22WG5 resulted in a comment that different ranks should not be allowed, I've reverted the commit as r13-2118: commit ca170ed9f8a086ca7e1eec841882b6bed9ec1a3a Author: Harald Anlauf <anl...@gmx.de> Date: Thu Aug 18 21:24:29 2022 +0200 Revert "Fortran: fix invalid rank error in ASSOCIATED when rank is remapped [PR77652]" This reverts commit 0110cfd5449bae3a772f45ea2e4c5dab5b7a8ccd. See https://gcc.gnu.org/pipermail/fortran/2022-August/058049.html for details. Will close this PR therefore as invalid (at least for <= Fortran 2018).