C++ Exception Handling Bug

Alexandre Oliva oliva@dcc.unicamp.br
Sat Dec 5 20:12:00 GMT 1998


On Dec  4, 1998, "Andris Pavenis" <pavenis@lanet.lv> wrote:

> Tried egcs-1.1.1-release  (DJGPP, target=i586-pc-msdosdjgpp). Without optimizations
> (g++ -x c++ foo.ii -o xxx.exe) there is no crash.
> With optimizations (I tested -O1, -O2, -O3) I'm
> geting SIGABRT.

Make sure you've got a recent release of binutils (>= 2.9.1).  Older
releases will generate incorrect exception handling code.

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil




More information about the Gcc-bugs mailing list