This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Re: gcc forgets to decrease esp after function call


Vladimir Simonov writes:
 > Hi again,
 > 
 > Ok, thank you.
 > I'll try to prepare minimal testcase. It is not so easy
 > because the problem apears while handling complex
 > templated code.
 > 
 > But I need advices about workarround the problem.
 > Say,
 > How can I force gcc to use ebp instead of
 > esp to address local variables?

-fno-omit-frame-pointer ought to do it.

Andrew.


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