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

--- Comment #15 from bouanto at zoho dot com ---
(In reply to David Malcolm from comment #14)
> Or even move the flags to API calls:
> 
> extern gcc_jit_extended_asm *
> gcc_jit_block_add_extended_asm (gcc_jit_block *block,
>                                 const char *asm_template);
>                               // location?
> extern void
> gcc_jit_extended_asm_set_volatile_flag (gcc_jit_extended_asm *ext_asm,
>                                         int flag);
> extern void
> gcc_jit_extended_asm_set_inline_flag (gcc_jit_extended_asm *ext_asm,
>                                       int flag);

I'm okay with either way.

For top-level assembly, I guess we can have a similar function, but without the
parameters that would not be needed.

Reply via email to