https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88452
Thomas Koenig <tkoenig at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tkoenig at gcc dot gnu.org
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
This is now rejected with
a.f90:6:18:
6 | equivalence(tt1(1,1), ctt1(1,1))
| 1
Error: Array 'tt1' at (1) with non-constant bounds cannot be an EQUIVALENCE
object
a.f90:6:27:
6 | equivalence(tt1(1,1), ctt1(1,1))
| 1
Error: Array 'ctt1' at (1) with non-constant bounds cannot be an EQUIVALENCE
object
as per PR 94030 (which is the correct error message, see C8109 in F2018).
So, resolving as duplicate.
*** This bug has been marked as a duplicate of bug 94030 ***