re PR fortran/42651 (Functions with result: Wrongly accepts attributes to function...