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]
Other format: [Raw text]

Re: BUG: g++ 3.x.x -fomit-frame-pointer: exception handling doesn't work


On Wed, Aug 11, 2004 at 12:32:39PM -0700, James E Wilson wrote:
> On Wed, 2004-08-11 at 11:33, Denis Zaitsev wrote:
> > Either this was compiled without frame pointers?
> 
> The code was compiled with -O2 -fomit-frame-pointer.  Use of the
> -fomit-frame-pointer option does not guarantee that the frame pointer
> will be eliminated.

Ok.  Your main() is compiled with fp.  And this may be the reason why
you haven't got the error.  Please, try to recompile with
-mpreferred-stack-boundary=2 and see.  (Your main()'s stack is 16-byte
aligned, I think it's why GCC decides to use fp.)


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