https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88648
--- Comment #5 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Mon Feb 11 09:26:31 2019 New Revision: 268764 URL: https://gcc.gnu.org/viewcvs?rev=268764&root=gcc&view=rev Log: ARM: fix -masm-syntax-unified (PR88648) Backport from mainline. 2019-01-10 Stefan Agner <ste...@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. Added: branches/gcc-8-branch/gcc/testsuite/gcc.target/arm/pr88648-asm-syntax-unified.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/config/arm/arm.c branches/gcc-8-branch/gcc/testsuite/ChangeLog