x86 exception handling / as 2.9.1

Paul Ruizendaal pr@deli-universal.nl
Fri Feb 25 02:33:00 GMT 2000


Hi Guys!

I got a bit lost in the earlier discussion; could I get slightly more verbose help...

My problem:
- want to compile/run largish C++ program, but exceptions seem to 'fall through' catch clauses.

What I know:
- x86 exception handling is problematic. gcc FAQ says problem is as, versions prior to 2.9.1.
  Suggested solution is to use as 2.9.1, post .0.15 snapshot.
- am using SuSE Linux 6.1, comes with as 2.9.1.0.22; exceptions not working right
- upgraded to as 2.9.1.0.25; still no joy

Questions:
- How recent do I need to get?
- Where can I download that (binary preferred, but source okay)?
- Is there a work-around for the know exception handling problems? 
  (eg. certain design rules for error objects, turn off optimisation, use -frtti, ... whatever)
- What is the nature of the bug? Is there a characterisation of the bug that explains why exception handling
  works fine in short test programs?

Thanks in advance

Paul



More information about the Gcc-bugs mailing list