]> git.ipfire.org Git - thirdparty/gcc.git/commit
ARM: fix -masm-syntax-unified (PR88648)
authorktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Jan 2019 11:36:42 +0000 (11:36 +0000)
committerktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Jan 2019 11:36:42 +0000 (11:36 +0000)
commit2fd2b9b8425f9fc4ad98d48a0ca41b921dd75bd9
tree11b17aff511f99ac81bd1bc19c6171a90b11a5b9
parent5f0279417e4d473828dd5106bb0e2098640398cb
ARM: fix -masm-syntax-unified (PR88648)

This allows to use unified asm syntax when compiling for the
ARM instruction. This matches documentation and seems what the
initial patch was intended doing when the flag got added.

2019-01-10  Stefan Agner  <stefan@agner.ch>

PR target/88648
* config/arm/arm.c (arm_option_override_internal): Force
opts->x_inline_asm_unified to true only if TARGET_THUMB2_P.

* gcc.target/arm/pr88648-asm-syntax-unified.c: Add test to
check if -masm-syntax-unified gets applied properly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267804 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pr88648-asm-syntax-unified.c [new file with mode: 0644]