This is the mail archive of the
mailing list for the GCC project.
Re: multithreaded EH is still broken on Linux/Alpha and other platforms
- To: Jason Merrill <jason at cygnus dot com>
- Subject: Re: multithreaded EH is still broken on Linux/Alpha and other platforms
- From: Sai-Lai Lo <S dot Lo at orl dot co dot uk>
- Date: 25 Aug 1998 11:36:15 +0100
- CC: egcs-bugs at cygnus dot com, hjl at lucon dot org
- References: <m0zB3aB-00038xC.firstname.lastname@example.org><email@example.com>
>>>>> Jason Merrill writes:
>>>>> H J Lu <firstname.lastname@example.org> writes:
>> The Linux/x86 EH bug has nothing to do with thread.
> No, it has to do with you forgetting to define the copy constructor.
You are right in that egcs did a copy using the copy constructor.
This behaviour is different from other compilers:
As Lu has pointed out, Sun's CC 4.2 does not invoke the copy constructor.
DEC C++ v 6.0 does not invoke the copy constructor (but DEC C++ v 5.6 does).
g++ 2.7.2 invoke the copy constructor but miss out one call to the
I do not know which is suppose to be the standard conforming behaviour.
Just another minor point that can catch the unawared I suppose..