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

--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #4)

> > No need for -masm=att. The option selects assembly dialect of *generated*
> > asm.
> 
> But the inline asm is in AT&T syntax, and if the rest would be emitted in
> Intel syntax, it wouldn't assemble unless .intel_syntax/.att_syntax is used.

Indeed, thanks for pointing this out. Either -masm=att or multiple dialects
should be used in the asm template.

Reply via email to