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

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
extern void foo (char *name, double d, double e, double f, int g);

void
bar (char *name, ...)
{
  __builtin_apply(foo, __builtin_apply_args(), 64);
}

is miscompiled.  IA MCU passes everything on stack for vararg functions.

Reply via email to