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

--- Comment #17 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Okay, by searching the history, looks like that the following patch forget
> to update the above routine when merging the 2nd and 3rd parameters for
> __builtin_clear_padding: 

I see, thanks for investigation!  This was overlooked because the C family of
compiler do not use the declaration built in common_builtin_nodes, but rather
that derived from builtins.def:

DEF_GCC_BUILTIN        (BUILT_IN_CLEAR_PADDING, "clear_padding",
BT_FN_VOID_VAR, ATTR_NOTHROW_NONNULL_TYPEGENERIC_LEAF)

which accepts any number of arguments.

Reply via email to