2.95.2: exception handling - some missing!
Dr. David Gilbert
dg@px.uk.com
Thu Nov 9 11:01:00 GMT 2000
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 |
\------------------------------------------------------------------/
More information about the Gcc-bugs
mailing list