Throw/catch across thread boundary with EGCS 1.1.2 on IRIX 6.5

Gilles Zunino Gilles.Zunino@hei.fupl.asso.fr
Mon May 31 21:06:00 GMT 1999


"Brian Calves" <calves@enews1.nrl.navy.mil> wrote

> Hello,
> I think I found a bug in EGCS g++ 1.1.2.

[SNIP : pb description]

I compiled your code on my INDY (IRIX 6.5 ABI=n32) with one of the
latest egcs (checked out from Cygnus repository) and here are
the results :

{dunan-gzunino-/mnt/temp-gz/build } ./gcctest
[main] starting thread.
[main] going to sleep.
[thread] running.
[thread] running.
[thread] running.
[thread] running.
[main] throwing an integer.
[main] caught an integer.
[main] exiting.

So it appears to be fixed. Note that I configured egcs with the
following line (don't know if it matters but ...) :

../egcs/configure --prefix="/usr/people/gilles/gcc" \
--enable-threads=posix --enable-shared --enable-languages=c,c++,java

The version of egcs is :
{dunan-gzunino-/mnt/temp-gz/build } g++ -v
Reading specs from
/usr/people/gilles/gcc/lib/gcc-lib/mips-sgi-irix6.5/egcs-2.93.21/specs
gcc version egcs-2.93.21 19990514 (gcc2 ss-980929 experimental)

	Hoppe that helped
_________________________________________________________________
Gilles Zunino - (Gilles.Zunino@hei.fupl.asso.fr)   (A 506)  7636

HEI, 13 rue de Toul, 59 046 LILLE CEDEX FRANCE
Phone : (+33) 3 28.38.48.58  Fax : (+33) 3 28.38.48.04



More information about the Gcc-bugs mailing list