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

            Bug ID: 88648
           Summary: Force unified syntax for inline assembly not
                    functional (-masm-syntax-unified)
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: stefan at agner dot ch
  Target Milestone: ---

Forcing inline assembly to be unified syntax seems not to work properly

E.g. compiling a c file with the following inline assembly using
arm-none-eabi-gcc -marm -march=armv7-a -masm-syntax-unified test.c --save-temps


asm ( "nop" ); 

leads to:

        .syntax divided
@ 5 "test.c" 1
        nop
@ 0 "" 2

Reply via email to