[patch] Poison PROMOTE_FUNCTION_ARGS, STRUCT_VALUE_INCOMING, and STRICT_ARGUMENT_NAMING.

Zack Weinberg zack@codesourcery.com
Sat Jan 31 20:19:00 GMT 2004


Kazu Hirata <kazu@cs.umass.edu> writes:

> Hi,
>
> Attached is a patch to poison PROMOTE_FUNCTION_ARGS,
> STRUCT_VALUE_INCOMING, and STRICT_ARGUMENT_NAMING, and clean up
> related things.
>
> The only notable things is that default_promote_function_args
> collapses down to hook_bool_tree_false, so I've removed the former.
>
> Bootstrapped on i686-pc-linux-gnu OK to apply?
>
> Kazu Hirata
>
> 2004-01-31  Kazu Hirata  <kazu@cs.umass.edu>
>
> 	* system.h (PROMOTE_FUNCTION_ARGS, STRUCT_VALUE_INCOMING, and
> 	STRICT_ARGUMENT_NAMING): Poison.
> 	* target-def.h (TARGET_PROMOTE_FUNCTION_ARGS): Define as
> 	hook_bool_tree_false.
> 	* targhooks.c (default_promote_function_args): Remove.
> 	(default_struct_value_rtx): Don't use STRUCT_VALUE_INCOMING.
> 	Don't check incoming.
> 	(default_strict_argument_naming): Don't use
> 	STRICT_ARGUMENT_NAMING.
> 	* targhooks.h: Remove the prototype for
> 	default_promote_function_args.

This is OK.

zw



More information about the Gcc-patches mailing list