pushing values to memory efficiently during rtl gen?

Jeffrey A Law law@cygnus.com
Wed Sep 16 09:44:00 GMT 1998


  In message < 199809160543.WAA18559@dm.cobaltmicro.com >you write:
  > Actually, it is interesting, what should be the semantics of a libcall
  > be when scalar arguments are passed via ptrs to them?
This brings up a very important issue.

libcalls pass arguments based on their mode, not their type.  ie, we
can not distinguish between a pointer and an integer of the same
size when passing an argument to a libcall (or returning a value
from a libcall).

It may not matter in your case, but it is something worth looking
into.

jeff



More information about the Gcc mailing list