https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85996
--- Comment #4 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Sun, Jun 03, 2018 at 10:02:35AM +0000, dominiq at lps dot ens.fr wrote: > > Nice reduction!-) > > The ICE appeared between revisions r258235 (2018-03-04, OK) and r258362 > (2018-03-08, ICE) and the commit has been back ported to the GCC6 and GCC7 > branches. > There are 3 commits to gcc/fortran in that range. I reverted what would be the obvious one that might cause a problem and the ICE still occurs. The ICE disappears if uppercase_c and uppercase_s are moved up in the source code to a location that comes before any reference to the generic uppercase.