https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87103
--- Comment #6 from Andrew Benson <abensonca at gmail dot com> --- The patch from https://gcc.gnu.org/ml/fortran/2018-09/msg00044.html still applies cleanly to trunk (with some line offsets) and regression tests cleanly as of today. I'll attached a new version of the patch based on a diff against current trunk.