[PR fortran/89492, patch] - [9 Regression] Endless compilation of an invalid TRANSFER after r269177

Dominique d'Humières dominiq@lps.ens.fr
Tue Feb 26 09:17:00 GMT 2019


Hi Harald,

> Rev. 269177 uncovered a latent issue in TRANSFER when the MOLD argument
> had storage size 0, resulting in an infinite loop.  The attached patch
> rejects illegal cases and handles the case where storage size of both
> SOURCE and MOLD are 0.  It also verifies proper simplification for
> some cases, some of which were not always properly handled before.

LGTM. Thanks for the quick fix.

Dominique

PS: Don’t forget to close the PRs you have fixed.



More information about the Fortran mailing list