https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87019
--- Comment #1 from Alexander Lehmann <welttensor at web dot de> --- I found out that this bug was encounter in the following forum as well: https://github.com/szaghi/HASTY/issues/6 and then opened in this case: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78682 But unfortunately the ICE still persists in the current version of gfortran.