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

Thomas König tk@tkoenig.net
Mon Nov 11 23:02:00 GMT 2019


Hi Janne,

> Wouldn't it be even better to pass scalar intent(in) variables by
> value? The obvious objection of course is ABI, but for procedures with
> an explicit interface we're not following any particular ABI anyways?

The problem with that is that we don't know when we compile a procedure
if it will be called with an explicit interface or not.

The user can always add an interface block for a stand-alone procedure.

Regards

	Thomas



More information about the Gcc-patches mailing list