c-common.c (atomic_size_supported_p): New function.
authorJoseph Myers <joseph@codesourcery.com>
Sat, 9 Nov 2013 16:32:34 +0000 (16:32 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Sat, 9 Nov 2013 16:32:34 +0000 (16:32 +0000)
commit6b28e197217e4508709cc49239ea39b7a1ad0a23
treeb2d16d6f89b752a35d24b7bf3a8b3ac694356e18
parent86dedeba367e5dc6153f5c92a09ee6888f2ce9a5
c-common.c (atomic_size_supported_p): New function.

* 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.

From-SVN: r204618
gcc/c-family/ChangeLog
gcc/c-family/c-common.c