Add outline-atomics to target attribute.
authorMartin Liska <mliska@suse.cz>
Thu, 21 May 2020 10:45:47 +0000 (12:45 +0200)
committerMartin Liska <mliska@suse.cz>
Thu, 21 May 2020 10:46:23 +0000 (12:46 +0200)
commit9e02b45ffc60e0078bde3c56a14f00c54b7f8039
tree30a5b984ae4b8c782d9a111a889ac13cdfd9c89b
parent62b5b53e94dc0314d86d9729733b0c65dff3b53e
Add outline-atomics to target attribute.

* common/config/aarch64/aarch64-common.c (aarch64_handle_option):
Handle OPT_moutline_atomics.
* config/aarch64/aarch64.c: Add outline-atomics to
aarch64_attributes.

* doc/extend.texi: Document the newly added target attribute.

* gcc.target/aarch64/target_attr_20.c: New test.
* gcc.target/aarch64/target_attr_21.c: New test.
gcc/ChangeLog
gcc/common/config/aarch64/aarch64-common.c
gcc/config/aarch64/aarch64.c
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/target_attr_20.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/target_attr_21.c [new file with mode: 0644]