summaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-21 00:39:05 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-21 00:39:05 +0000
commita6e6eeae4ec5a01b345d62681f637526ef5ccf8d (patch)
tree9fa392b00802fdde47c169ef1bd870bd2e34eb66 /gcc/defaults.h
parent45c09478fca62fa58a6c181b33e15fda40f9a468 (diff)
downloadgcc-a6e6eeae4ec5a01b345d62681f637526ef5ccf8d.tar.gz
* alias.c (OUTGOING_REGNO): Don't define the default.
* builtins.c (OUTGOING_REGNO): Likewise. (INCOMING_REGNO): Likewise. (apply_args_register_offset): Always use OUTGOING_REGNO. * combine.c (OUTGOING_REGNO): Likewise. * sibcall.c (OUTGOING_REGNO): Likewise. * defaults.h (INCOMING_REGNO): Provide the default. (OUTGOING_REGNO): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78203 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index 57e53f4e6ca..551c9783c3e 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -690,4 +690,13 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
#define CASE_VECTOR_PC_RELATIVE 0
#endif
+/* Register mappings for target machines without register windows. */
+#ifndef INCOMING_REGNO
+#define INCOMING_REGNO(N) (N)
+#endif
+
+#ifndef OUTGOING_REGNO
+#define OUTGOING_REGNO(N) (N)
+#endif
+
#endif /* ! GCC_DEFAULTS_H */