This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: multithreaded EH is still broken on Linux/Alpha and other platforms


>>>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]