https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120049
--- Comment #10 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- I have a patch now that addresses the original problem and regression tests fine whcih I will submit to the gfortran list. Before I do that I want to explore these other cases given in Comment #8.