* c-common.c (atomic_size_supported_p): New function.
commita056826cc78bd6a55881c2e306eaa0d09a9a030c
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Nov 2013 16:32:34 +0000 (9 16:32 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Nov 2013 16:32:34 +0000 (9 16:32 +0000)
treeb2d16d6f89b752a35d24b7bf3a8b3ac694356e18
parent96d4cdf3ffa8f0235923f0f3ce2b5f61b8cb06ee
* c-common.c (atomic_size_supported_p): New function.
(resolve_overloaded_atomic_exchange)
(resolve_overloaded_atomic_compare_exchange)
(resolve_overloaded_atomic_load, resolve_overloaded_atomic_store):
Use it instead of comparing size with a local list of sizes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204618 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c-family/ChangeLog
gcc/c-family/c-common.c