This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [patch-rfc] N2179: Exception Propagation in C++


Sebastian Redl wrote:
I'm sorry to be so late, but I only just now noticed that you changed eh_throw.cc (__cxa_throw) to initialize the reference count to 0 instead of 1. This is incorrect.
I think it's correct, because at the same time I'm using __exchange_and_add_dispatch, which essentially is a __sync_fetch_and_add (*not* a |__sync_add_and_fetch as in your initial patch)|. I also run your testcases through valgrind.

Please double check again and in case send over a patch.

Paolo.


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