https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94030
markeggleston at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markeggleston at gcc dot gnu.org --- Comment #3 from markeggleston at gcc dot gnu.org --- A patch from Steve Kargl was sent to the fortran mailing list, (see https://gcc.gnu.org/pipermail/fortran/2020-March/054130.html) without reference to any PR. It appeared to be related to this PR. I have verified the patch and also checked it with the test case in the original report. The result is: 5 | equivalence (i, arr(1)) | 1 Error: Array 'arr' at (1) with non-constant bounds cannot be an EQUIVALENCE object The above is much better than an ICE. Thanks Steve. I will add test cases to the patch and will send it upstream for approval for master and backports to gcc-8 and gcc-9.