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: C++: Is this a bug with throw and -fomit-frame-pointer?


> I've got a short C++ test program which enters a try { } block, then
> calls some C code.  The C code calls some C++ code (via a function
> pointer) in the test program which throws an exception.  If the code in
> the try {} block calls the C code directly, then the catch () { }
> handler is invoked.  However when I compile the files a certain way, and
> the try{} block calls a C++ function, then calls the C function to cause
> the exception, the program calls abort() because it can't find the catch
> handler.

Thanks for your bug report. I've put it into GNATS.

Regards,
Martin

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