[Bug middle-end/124056] Flags output is not handled correctly with "asm goto"

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Feb 11 07:13:22 GMT 2026


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.


More information about the Gcc-bugs mailing list