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: [cxx-mem-model] Atomic C++ header file changes


On 08/17/2011 08:39 AM, Andrew MacLeod wrote:
> ! 	return __sync_mem_load (const_cast <__int_type *>(&_M_i), __m);

This suggests the builtin is incorrectly defined.
It ought to be const itself.


r~


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