https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87881
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > First, I have tested the patch at > https://gcc.gnu.org/bugzilla/attachment.cgi?id=44892 > with the test in pr40196 comment 9 without seeing any problem. > So it seems that the problem has been introduced/uncovered by the subsequent > changes. Confirmed for the first test in comment 2 for which the ICE appears with the patch at https://gcc.gnu.org/ml/fortran/2018-10/msg00115.html. The ICE for the second test in comment 2 was already present with the first patch.