Re: resurrect __attribute__((atomic)) work

2015-05-06 Thread Andrew MacLeod
On 05/06/2015 06:41 PM, Sandra Loosemore wrote: On 05/06/2015 03:22 PM, Andrew MacLeod wrote: gcc * c-family/c-common.c (const struct attribute_spec c_common_att): Add "atomic" attribute. (handle_atomic_attribute): New. Deal with __attribute__((atomic)). (resolve_overloaded

Re: resurrect __attribute__((atomic)) work

2015-05-06 Thread Sandra Loosemore
On 05/06/2015 03:22 PM, Andrew MacLeod wrote: gcc * c-family/c-common.c (const struct attribute_spec c_common_att): Add "atomic" attribute. (handle_atomic_attribute): New. Deal with __attribute__((atomic)). (resolve_overloaded_builtin): If an atomic objec