Hi Paul,
This all bootstraps and regtests on FC31/x86_64 - OK for master?
This is a sizable patch, and from what I can see, it all looks plausible. So, I's say OK for master (with one nit, below), but maybe you could wait a day or so to give others the chance to look it over, too. The nit:
PR fortran/83118 * gfortran.dg/dependency_57.f90: Change to dg-run and test for correct result.
I'd rather not change a test case unless it is needed; if something breaks it, it is better to leave it as is for bisection. Could you just make a new test from the run-time version? Thanks a lot for tackling this thorny issue! Best regards Thomas