]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Patch AArch64] Add __ARM_FEATURE_ATOMICS
authorramana <ramana@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Apr 2019 11:22:11 +0000 (11:22 +0000)
committerramana <ramana@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Apr 2019 11:22:11 +0000 (11:22 +0000)
commitcdea4a38ef29088b751c40fae4ee1dc659bcd2d7
tree1a6ba8d5fcc1fc66b75818a112913773c0f8858d
parent612b2ae797bcabff1daa09bb77de7b2b27b85063
[Patch AArch64] Add __ARM_FEATURE_ATOMICS

This keeps coming up repeatedly and the ACLE has finally added
__ARM_FEATURE_ATOMICS for the LSE feature in GCC. This is now part of
the latest ACLE release
(https://developer.arm.com/docs/101028/latest/5-feature-test-macros)

I know it's late for GCC-9 but this is a simple macro which need not
wait  for another year.

Ok for trunk and to backport to all release branches ?

Tested with a simple build and a smoke test.

PR target/86538
* config/aarch64/aarch64-c.c (aarch64_update_cpp_builtins): Define
__ARM_FEATURE_ATOMICS

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