re PR fortran/60543 (Function with side effect removed by the optimizer.)