Sujet : Re: Calling conventions (particularly 32-bit ARM)
De : monnier (at) *nospam* iro.umontreal.ca (Stefan Monnier)
Groupes : comp.archDate : 13. Jan 2025, 16:55:15
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <jwvldvepvh5.fsf-monnier+comp.arch@gnu.org>
References : 1 2 3 4 5
User-Agent : Gnus/5.13 (Gnus v5.13)
Anton Ertl [2025-01-09 08:38:32] wrote:
Stefan Monnier <monnier@iro.umontreal.ca> writes:
AFAIK in these cases the same compiler generates the code for the
function and for the calls, so it should be pretty much free to use any
calling convention it likes.
With separate compilation, the compiler does not know which other
compiler generates the code for the caller of a function or the callee
of a function.
My reply was to:
Large numbers of parameters may be generated either by closure
conversion or by lambda lifting.
Can you show me an example where that happens and where the caller and
the callee can be generated by different compilers?
Stefan