Stack frame in GCC/G++

pradeep bollineni <>
1 Oct 1999 10:11:43 -0400

          From comp.compilers

Related articles
Stack frame in GCC/G++ (pradeep bollineni) (1999-10-01)
Re: Stack frame in GCC/G++ (Michael Meissner) (1999-10-11)
| List of all articles for this month |

From: pradeep bollineni <>
Newsgroups: comp.compilers
Date: 1 Oct 1999 10:11:43 -0400
Organization: Iowa State University, Ames, Iowa, USA
Keywords: C++, GCC, practice, comment

I would greatly appreciate is someone could help me with the following

In code generated by gcc/g++ on linux running on intel pentium II, is
any other data stored between a stack frames (for a function) base
pointer and the return address from that function (which also stored
on the stack). Put differently, is it correct to assume that return
address from a function is stored right next to the base pointer for
the functions stack frame?


Pradeep C Bollineni

Ph. No.'s - (Off.) (515) 294-1993
(Res.) (515) 292-4104

[As I recall, with a sufficiently high optimization level, leaf routines
someties don't store the base pointer. -John]

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.