On 11/20/19 10:35 PM, Thomas König wrote:
Is there a risk of performance regressions due to higher register pressure?
richi points out (on IRC) that ideally LTO IPA opts would promote the call-by reference to call-by value – but is not sure that it indeed happens. [In any case, Linux distros have started to compile packages with LTO.]
One could try and see whether that indeed happens. – Still, I think the real solution is to teach the middle end about the Fortran semantics.
Cheers, Tobia