diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/target-def.h | 2 | ||||
-rw-r--r-- | gcc/targhooks.c | 4 | ||||
-rw-r--r-- | gcc/targhooks.h | 2 |
4 files changed, 14 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 82d69da..ebdf367 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,14 @@ 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> + * target-def.h (TARGET_STRICT_ARGUMENT_NAMING): Define as + hook_bool_CUMULATIVE_ARGS_false. + * targhooks.c (default_strict_argument_naming): Rename to + hook_bool_CUMULATIVE_ARGS_false. + * targhooks.h: Update the prototype for + default_strict_argument_naming. + +2004-01-31 Kazu Hirata <kazu@cs.umass.edu> + * config/sh/sh.c: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (". * config/sh/sh.h: Likewise. * config/sh/sh.md: Likewise. diff --git a/gcc/target-def.h b/gcc/target-def.h index 02c00d0..8a757ac 100644 --- a/gcc/target-def.h +++ b/gcc/target-def.h @@ -335,7 +335,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define TARGET_EXPAND_BUILTIN_SAVEREGS default_expand_builtin_saveregs #define TARGET_SETUP_INCOMING_VARARGS default_setup_incoming_varargs -#define TARGET_STRICT_ARGUMENT_NAMING default_strict_argument_naming +#define TARGET_STRICT_ARGUMENT_NAMING hook_bool_CUMULATIVE_ARGS_false #define TARGET_PRETEND_OUTGOING_VARARGS_NAMED default_pretend_outgoing_varargs_named #define TARGET_CALLS { \ diff --git a/gcc/targhooks.c b/gcc/targhooks.c index fe2647e..ed382e9 100644 --- a/gcc/targhooks.c +++ b/gcc/targhooks.c @@ -146,8 +146,10 @@ default_setup_incoming_varargs (CUMULATIVE_ARGS *ca ATTRIBUTE_UNUSED, #endif } +/* Generic hook that takes a CUMULATIVE_ARGS pointer and returns true. */ + bool -default_strict_argument_naming (CUMULATIVE_ARGS *ca ATTRIBUTE_UNUSED) +hook_bool_CUMULATIVE_ARGS_false (CUMULATIVE_ARGS *ca ATTRIBUTE_UNUSED) { return false; } diff --git a/gcc/targhooks.h b/gcc/targhooks.h index d91dda3..56fb45f 100644 --- a/gcc/targhooks.h +++ b/gcc/targhooks.h @@ -31,7 +31,7 @@ extern bool default_return_in_memory (tree, tree); extern rtx default_expand_builtin_saveregs (void); extern void default_setup_incoming_varargs (CUMULATIVE_ARGS *, enum machine_mode, tree, int *, int); -extern bool default_strict_argument_naming (CUMULATIVE_ARGS *); +extern bool hook_bool_CUMULATIVE_ARGS_false (CUMULATIVE_ARGS *); extern bool default_pretend_outgoing_varargs_named (CUMULATIVE_ARGS *); extern bool hook_bool_CUMULATIVE_ARGS_true (CUMULATIVE_ARGS *); |