[patch, fortran] Load scalar intent-in variables at the beginning of procedures

Tobias Burnus tobias@codesourcery.com
Thu Nov 21 09:41:00 GMT 2019


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




More information about the Gcc-patches mailing list