https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79311
--- Comment #6 from janus at gcc dot gnu.org --- (In reply to janus from comment #5) > This draft patch fixes the ICE on comment 0 and comment 4: > > [..] > > Regtesting now ... The regtest went pretty well, although I'm seeing these three failures: FAIL: gfortran.dg/coarray_lock_7.f90 -O scan-tree-dump-times original FAIL: gfortran.dg/coarray_lock_7.f90 -O scan-tree-dump-times original FAIL: gfortran.dg/mvbits_7.f90 -O0 (test for warnings, line 28) But I think they are unrelated and also occur without my patch. Will check.