This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug inline-asm/65898] GCC puts auto generated code between two asm volatile(".intel_syntax"); and asm volatile(".att_syntax"); globally syntaxed rather than not put or change it's syntax


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

--- Comment #1 from stanley <sstsoft at wp dot pl> ---
You could see another bug there "mov eax,%eax" -> %eax is generated from named
value [val] "g" (val). I see there is my bug, to do such code without clobber
"eax" so GCC put's optimized local value into my asm inline() and almost nop ->
mov eax,eax produced.. i can fix that, but can someone fix bugs in GCC?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]