https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82617
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- The ICE depends on the configuration of the compiler: with --enable-checking=release, I get during RTL pass: expand pr82617.f90:27:0: items = strwords_impl(str,white) internal compiler error: in expand_expr_real_1, at expr.c:9862 with --enable-checking=yes, I get the ICE in comment 1. > These errors appear to be coming from the middle-end. Yes, but probably because the frontend does do the "right" thing.