C++ Exception Handling Bug
Andris Pavenis
pavenis@lanet.lv
Mon Dec 7 00:07:00 GMT 1998
On 6 Dec 1998, Alexandre Oliva wrote:
> 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.
>
Yes, I used binutils-2.9.1.
In average exceptions handling has become better since
egcs-1.1.1-prerelease-2 and now for DJGPP I'm getting same results
as I got earlier with egcs-1.1 under Linux (i586-pc-linux-gnulibc1).
Andris
More information about the Gcc-bugs
mailing list