https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83076
--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- With the patch at https://gcc.gnu.org/ml/fortran/2017-11/msg00171.html the number of internal compiler error: in fold_convert_loc, at fold-const.c:2368 in my test suite went from 5 without the patch up to 54 with it and the number of internal compiler error: in gfc_add_modify_loc, at fortran/trans.c:159 from 2 to 29. A prototype of the new errors of the first kind is the test in the first attachment to pr64757 compiled with -fcoarray=lib. A prototype for errors of the second kind is the test in pr58793 comment 0 also compiled with -fcoarray=lib. Yes, I know that these tests does not need -fcoarray=lib, but they should not give an ICE with it. I can provide a larger set of other tests ICEing if needed.