On 09/15/2011 04:47 PM, Richard Henderson wrote:
On 09/09/2011 01:29 PM, Andrew MacLeod wrote:! { return __sync_mem_add__fetch(&_M_i, 1, memory_order_seq_cst); }^^ typo Which begs the question of how this didn't get caught in the testsuite somewhere?
good catch :-)a template calling that particular method was probably not invoked. The joys of c++ templates eh :-)
I do plan to flush out a set of tests which try every variant, just havent gotten to it yet.
Andrew