summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-31 22:12:55 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-31 22:12:55 +0000
commit9878c8d90bd12836fb07906226700c39ad1aa67d (patch)
treefbb9e403ac874008631e4b2e94f64e03924fe2db /gcc
parent407d91539dcf52f9c4ba28979f37c9ee93b88e60 (diff)
downloadgcc-9878c8d90bd12836fb07906226700c39ad1aa67d.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77052 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/target-def.h2
-rw-r--r--gcc/targhooks.c4
-rw-r--r--gcc/targhooks.h2
4 files changed, 14 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 82d69dab144..ebdf3675d06 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 02c00d081cf..8a757acb2bf 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 fe2647e476c..ed382e95449 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 d91dda395bf..56fb45ff446 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 *);