https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689
--- Comment #20 from Alan Modra <amodra at gmail dot com> --- That is what I thought too at first, and why I though that making calls with hidden args to be varargs was not going to be a problem. However, calling build_varargs_function_type_vec with an empty typelist does not build a varargs function. Instead, you get a function decl with a NULL TYPE_ARG_TYPES, which is an unprototyped function.