aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2012-11-09 15:24:25 +0000
committerAndi Kleen <ak@gcc.gnu.org>2012-11-09 15:24:25 +0000
commitad7bac31307f16060dbb7ce4a36d44698ca2be76 (patch)
tree7eb028a1a6f1da03283226a754c2f33692bf6666 /libcpp
parent962e3ae2aa51b4e2024c6fc3b9bf0ade8c64de7d (diff)
downloadgcc-ad7bac31307f16060dbb7ce4a36d44698ca2be76.zip
gcc-ad7bac31307f16060dbb7ce4a36d44698ca2be76.tar.gz
gcc-ad7bac31307f16060dbb7ce4a36d44698ca2be76.tar.bz2
Handle target specific memory models in C frontend
get_atomic_generic_size would error out for __atomic_store(...,__ATOMIC_HLE_RELEASE) Just mask it out. All the memory orders are checked completely in builtins.c anyways. I'm not sure what that check is for, it could be removed in theory. Passed bootstrap and test suite on x86-64 gcc/c-family/: 2012-11-09 Andi Kleen <ak@linux.intel.com> PR 55139 * c-common.c (get_atomic_generic_size): Mask with MEMMODEL_MASK From-SVN: r193363
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions