[AArch64] Don't allow -mgeneral-regs-only to change the .arch assembler directives
commita44807fe4def62305d3f8ce8a5a80164b6d3810c
authorktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Dec 2015 15:02:42 +0000 (4 15:02 +0000)
committerktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Dec 2015 15:02:42 +0000 (4 15:02 +0000)
tree25c1bd2e97d287b8250e979b9d72d011a999bc45
parent5886434d5848103595fad1035a587879c046d9db
[AArch64] Don't allow -mgeneral-regs-only to change the .arch assembler directives

* config/aarch64/aarch64.c (aarch64_override_options_internal):
Do not alter target_flags due to TARGET_GENERAL_REGS_ONLY_P.
* doc/invoke.texi (AArch64 options): Mention that -mgeneral-regs-only
does not affect the assembler directives.

* gcc.target/aarch64/mgeneral-regs_4.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231275 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/aarch64/aarch64.c
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/mgeneral-regs_4.c [new file with mode: 0644]