This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [cxx-mem-model] C++ wrappers
On 09/15/2011 02:03 PM, Andrew MacLeod wrote:
> 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 :-)
Isn't there an extension that forces an entire class template to be instantiated?
r~