This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: multithreaded EH is still broken on Linux/Alpha and other platforms
- To: Sai-Lai Lo <S dot Lo at orl dot co dot uk>
- Subject: Re: multithreaded EH is still broken on Linux/Alpha and other platforms
- From: Jason Merrill <jason at cygnus dot com>
- Date: 25 Aug 1998 10:40:32 -0700
- Cc: egcs-bugs at cygnus dot com, hjl at lucon dot org
- References: <m0zB3aB-00038xC.cygnus.egcs.bugs@ocean.lucon.org> <u9ogtaxb0f.fsf@yorick.cygnus.com> <3od89pmjq8.fsf@santaka.cam-orl.co.uk>
>>>>> Sai-Lai Lo <S.Lo@orl.co.uk> writes:
> You are right in that egcs did a copy using the copy constructor.
> This behaviour is different from other compilers:
> I do not know which is suppose to be the standard conforming behaviour.
Both are conforming. The copy constructor call is specified, but it can be
elided, just like with
A a = A();
We usually elide copies, but don't in this case because of exception region
concerns.
Jason