This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Stack cleared function?


On Thu, Jan 27, 2000 at 10:19:24AM -0600, rlau@csc.com wrote:
> Does anyone know who is responsible for clearing the stack
> - the caller or the called function

No one does.

> Also, does anyone know what kind of calling convention is used by g77
> and gcc -like __stdcall and __cdecl ??

The C front end can use __attribute__ to change.  The Fortran
front end has no such hook.  Both default to cdecl.


r~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]