argument "named" of TARGET_FUNCTION_ARG

Richard Sandiford richard.sandiford@arm.com
Tue Aug 27 13:06:00 GMT 2019


William Tambe <tambewilliam@gmail.com> writes:
> Is it normal behavior that the argument "named" of TARGET_FUNCTION_ARG
> is false for the first argument of a variadic function, even-though it
> is named ?
>
> Documentation says about the argument "named" of TARGET_FUNCTION_ARG that it is:
> "true for an ordinary argument and false for nameless arguments that
> correspond to ‘…’ in the called function’s prototype"

Unfortunately, for historical reasons, you need to define
TARGET_STRICT_ARGUMENT_NAMING to hook_bool_CUMULATIVE_ARGS_true
to get a sensible value for "named".

Thanks,
Richard



More information about the Gcc-help mailing list