https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82923
--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > I can't believe that this isn't a duplicate although I can't find it. ... PRs 66694 and 82617 are "fixed" by the patch at https://gcc.gnu.org/ml/fortran/2018-05/msg00046.html.