re PR fortran/58989 (internal compiler error when using reshape function)