This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Stack cleared function?
- To: rlau at csc dot com
- Subject: Re: Stack cleared function?
- From: Richard Henderson <rth at cygnus dot com>
- Date: Thu, 27 Jan 2000 11:59:34 -0800
- Cc: gcc at gcc dot gnu dot org
- References: <85256873.0059D086.00@csc.com>
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~