[RFC] Fix findloc prototype

FX fxcoudert@gmail.com
Sun Oct 4 19:32:24 GMT 2020


Hi Thomas,

The approach is clear, and it’s also a bit of a hack. I don’t know how it could impact other code, obviously. What I am wondering is: for generating code calling intrinsics, the mechanism seems to be generic on the surface, but it is (ab)used in a weird way in a lot of cases. What I am wondering is: would it make more sense (and be more maintainable) to actually emit those special cases directly with ad hoc code (as we already do for some intrinsics) rather than (ab)use the generic mechanism in roundabout ways with tricks?

I’m not active enough these days to have a definitive opinion on the patch, let alone a review, sadly.

FX


More information about the Fortran mailing list