This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
2.95.2: exception handling - some missing!
- To: gcc-bugs at gcc dot gnu dot org
- Subject: 2.95.2: exception handling - some missing!
- From: "Dr. David Gilbert" <dg at px dot uk dot com>
- Date: Thu, 9 Nov 2000 19:00:52 +0000 (GMT)
Hi,
I have a problem with gcc 2.95.2 and C++ exceptions. Exceptions
are not being caught; looking at the generated assembler it appears that
there are a very small number (<1%) of the exception blocks
(.LEHB/.LEHE) which aren't ending up in the exception table. This is a
BIG source file with LOTS of catch blocks (around 5K blocks) (it is
generated by the SWIG tool) and actually while this has been a problem for
a while we haven't hit it because only now has it landed on a block which
actually caused an exception.
That was compiling with either -O1 or -O2; no -O flag gives all OK.
Is this a known problem? If so is there a known fix or something to avoid
doing (other than exceptions!).
Thanks a lot,
Dave
--
/------------------------------------------------------------------\
| Dr. David Alan Gilbert | Work:dg@px.uk.com +44-161-286-2000 Ex258|
| -------- G7FHJ --------|---------------------------------------- |
| Home: dave@treblig.org http://www.treblig.org |
\------------------------------------------------------------------/