info-vax@ucbvax.ARPA (02/19/85)
From: FIRTH@TL-20B.ARPA The "feature" that DEC C copies any func arg you take the address of should not be simply removed. It is needed to enforce the VAX standard calling convention, in particular, the rule that actual args are read only. Without that convention, inter-language calling won't work. However, just to copy the ONE arg that is addressed is certainly a bug, since C requires the args to be contiguous. The correct fix is that, if ANY arg has its address taken, the WHOLE arglist should be copied down into local storage. Robert Firth -------