argument "named" of TARGET_FUNCTION_ARG
Tue Aug 27 13:06:00 GMT 2019
William Tambe <firstname.lastname@example.org> 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".
More information about the Gcc-help