(j3.2006) Interesting F2003-ism

Michael Ingrassia michaeli
Thu Feb 22 12:02:36 EST 2007


Just for the sake of argument, here's an implementation
that will choke on your interface:

Separate integer and floating point registers.
Pointers and integers passed in integer registers (only) when no ellipsis.
Reals passed in floating point registers (only) when no ellipsis.
Elided arguments always passed on the stack whether real or integer or pointer.

The interface then entails the self-contradictory assertion
	the 2nd argument of the routine with binding label 'printf' is 
		passed only in integer registers and
		is passed only in floating point registers



	--Michael I.



More information about the J3 mailing list