-
Bug
-
Resolution: Unresolved
-
Not Prioritized
-
Code Generation Tools
-
CODEGEN-13228
-
-
default
The following commands show a simple assembly file. Then it is built two times. The first build processes the file as GNU-syntax assembly. The second build processes the file as TI-syntax assembly. Both builds use -O0, an option which is not relevant for assembly. The GNU-syntax build emits no diagnostic. The TI-syntax build emits a diagnostic.
% type file.asm .text nop % tiarmclang -c -O0 file.asm % tiarmclang -c -O0 -xti-asm file.asm tiarmclang: warning: argument unused during compilation: '-O0' [-Wunused-command-line-argument]