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] fix generic std::atomic<T>::compare_exchange_{weak,strong}


Hi,

On 07/27/2013 01:07 AM, Nathan Froyd wrote:
----- Original Message -----
On 07/26/2013 08:42 PM, Nathan Froyd wrote:
Sure, I can do that.  For maximum effectiveness, it'd be good to have it
check the specializations for atomic<>, too.  Is there something in the
libstdc++ testsuite for iterating template instantiations over a list of
types, or do I have to roll the list myself?
testsuite/29_atomics already uses testsuite_common_types.h
New patch, this time with tests.  Let me know if test placement, etc. need
adjusting.
Patch looks great, Ok to commit. Minor nits: in the testcase we want only 2013 as Copyright year and let's standardize on -std=gnu++11.

Thanks,
Paolo.


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