[AArch64] Don't allow -mgeneral-regs-only to change the .arch assembler directives
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Fri, 4 Dec 2015 15:02:42 +0000 (15:02 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Fri, 4 Dec 2015 15:02:42 +0000 (15:02 +0000)
commit7d9425d46b58e69667300331aa55ebddddcceaeb
tree25c1bd2e97d287b8250e979b9d72d011a999bc45
parent7d471c90332bb58e3668a5aaeb24640f7d4ca821
[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.

From-SVN: r231275
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]