This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++: Is this a bug with throw and -fomit-frame-pointer?
- To: george at moberg dot com
- Subject: Re: C++: Is this a bug with throw and -fomit-frame-pointer?
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Sun, 26 Mar 2000 21:14:39 +0200
- CC: gcc at gcc dot gnu dot org
- References: <380CDA7E.7809F889@moberg.com>
> 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