this patch makes sure that we pass the correct fn decls for some of our library functions. cshift and others still remain to be implemented. This is a step in our voyage to stop lying to the middle end :-) Regression-tested. OK for trunk?
Ping? (I am not 100% sure this mail ever made it to the mailing list, but it is in the archive at https://gcc.gnu.org/pipermail/fortran/2020-November/055303.html ).