https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83076
--- Comment #9 from Paul Thomas <pault at gcc dot gnu.org> --- (In reply to Paul Thomas from comment #8) > (In reply to Dominique d'Humieres from comment #7) > > 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. > > OK - thanks. I will look at it later on today. > > Paul "Today" got rather extended! I have fixed the problem with pr58793. You had better provide me with one or two other examples. Cheers Paul