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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Patrick O'Neill from comment #3)
> A slightly more reduced testcase without the extra printf:
> https://godbolt.org/z/1xjPzs9v5

Note add_em_up should techincally have:
  __builtin_va_end(ap);

At the end of the function (though, the code generation for riscv is not
different there with or without it).

Reply via email to