https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58618
--- Comment #9 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- With the patch in comment 8, the wrong-code is replaced with an ICE pr58618.f90:2:0: 2 | associate (x=>s(1)(1:1)) | internal compiler error: in fold_convert_loc, at fold-const.c:2425 (configured with --enable-checking=yes).