https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88648

--- Comment #3 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Thu Jan 10 11:36:42 2019
New Revision: 267804

URL: https://gcc.gnu.org/viewcvs?rev=267804&root=gcc&view=rev
Log:
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  <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:
    trunk/gcc/testsuite/gcc.target/arm/pr88648-asm-syntax-unified.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to