https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123033
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to wuz73 from comment #5) > In our application, we want to output something as quickly as possible, so > we implemented a logger in assembly. For debug, it falls back to print0(), > which is like printf() but with many extended functions (removed in this > simplified example). The only suggestion I have is you could use a Variadic Macro to wrap print0. There are other ways, like using __builtin_va_arg_pack (see https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Constructing-Calls.html#index-_005f_005fbuiltin_005fva_005farg_005fpack) if you don't want to use a macro but this needs to be an inline function (see the documentation).
