https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109854
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The assembler (at least gas) can do it, it has directives to change the
dialect.
ix86_asm_dialect is already TargetSave, so I think all we'd need is emit
directive to switch asm dialect if it differs from the previously emitted (or
sorry if assembler doesn't support those directives).