summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-18 21:38:33 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-18 21:38:33 +0000
commitf89331aae29b4af571664fbf2ddf873f56f9100e (patch)
treec57c89cab60e243f67dd743e939ca818cd51b709 /gcc
parentdcb50d90f8bae097eb66c8b542e0d5c4bfa63d63 (diff)
downloadppe42-gcc-f89331aae29b4af571664fbf2ddf873f56f9100e.tar.gz
ppe42-gcc-f89331aae29b4af571664fbf2ddf873f56f9100e.zip
* defaults.h (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Move from ...
* calls.c: ... here. * combine.c, expr.c, final.c, function.c toplev.c: Don't provide defaults for them here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40603 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/calls.c13
-rw-r--r--gcc/combine.c13
-rw-r--r--gcc/defaults.h13
-rw-r--r--gcc/expr.c13
-rw-r--r--gcc/final.c4
-rw-r--r--gcc/function.c4
-rw-r--r--gcc/toplev.c4
8 files changed, 20 insertions, 51 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 255545e0f5f..1bc4d071c93 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2001-03-18 Richard Henderson <rth@redhat.com>
+
+ * defaults.h (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Move from ...
+ * calls.c: ... here.
+ * combine.c, expr.c, final.c, function.c toplev.c: Don't provide
+ defaults for them here.
+
2001-03-17 Anthony Green <green@redhat.com>
* config/pj/lib1funcs.S: Fix broken comment.
diff --git a/gcc/calls.c b/gcc/calls.c
index f1eb3a80591..6b5f5083777 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -34,19 +34,6 @@ Boston, MA 02111-1307, USA. */
#include "timevar.h"
#include "sbitmap.h"
-#ifndef ACCUMULATE_OUTGOING_ARGS
-#define ACCUMULATE_OUTGOING_ARGS 0
-#endif
-
-/* Supply a default definition for PUSH_ARGS. */
-#ifndef PUSH_ARGS
-#ifdef PUSH_ROUNDING
-#define PUSH_ARGS !ACCUMULATE_OUTGOING_ARGS
-#else
-#define PUSH_ARGS 0
-#endif
-#endif
-
#if !defined FUNCTION_OK_FOR_SIBCALL
#define FUNCTION_OK_FOR_SIBCALL(DECL) 1
#endif
diff --git a/gcc/combine.c b/gcc/combine.c
index f5f0b58b207..230d4fd074d 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -93,19 +93,6 @@ Boston, MA 02111-1307, USA. */
#include "real.h"
#include "toplev.h"
-#ifndef ACCUMULATE_OUTGOING_ARGS
-#define ACCUMULATE_OUTGOING_ARGS 0
-#endif
-
-/* Supply a default definition for PUSH_ARGS. */
-#ifndef PUSH_ARGS
-#ifdef PUSH_ROUNDING
-#define PUSH_ARGS !ACCUMULATE_OUTGOING_ARGS
-#else
-#define PUSH_ARGS 0
-#endif
-#endif
-
/* It is not safe to use ordinary gen_lowpart in combine.
Use gen_lowpart_for_combine instead. See comments there. */
#define gen_lowpart dont_use_gen_lowpart_you_dummy
diff --git a/gcc/defaults.h b/gcc/defaults.h
index 098beae440a..b178caf40dd 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -308,5 +308,18 @@ do { \
#endif
#endif
+#ifndef ACCUMULATE_OUTGOING_ARGS
+#define ACCUMULATE_OUTGOING_ARGS 0
+#endif
+
+/* Supply a default definition for PUSH_ARGS. */
+#ifndef PUSH_ARGS
+#ifdef PUSH_ROUNDING
+#define PUSH_ARGS !ACCUMULATE_OUTGOING_ARGS
+#else
+#define PUSH_ARGS 0
+#endif
+#endif
+
#endif /* GCC_DEFAULTS_H */
diff --git a/gcc/expr.c b/gcc/expr.c
index d8586b63a36..d193242b13e 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -44,19 +44,6 @@ Boston, MA 02111-1307, USA. */
#include "intl.h"
#include "tm_p.h"
-#ifndef ACCUMULATE_OUTGOING_ARGS
-#define ACCUMULATE_OUTGOING_ARGS 0
-#endif
-
-/* Supply a default definition for PUSH_ARGS. */
-#ifndef PUSH_ARGS
-#ifdef PUSH_ROUNDING
-#define PUSH_ARGS !ACCUMULATE_OUTGOING_ARGS
-#else
-#define PUSH_ARGS 0
-#endif
-#endif
-
/* Decide whether a function's arguments should be processed
from first to last or from last to first.
diff --git a/gcc/final.c b/gcc/final.c
index 2e3b40d7878..123ea082cc3 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -79,10 +79,6 @@ Boston, MA 02111-1307, USA. */
#endif /* DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO */
-#ifndef ACCUMULATE_OUTGOING_ARGS
-#define ACCUMULATE_OUTGOING_ARGS 0
-#endif
-
#ifdef XCOFF_DEBUGGING_INFO
#include "xcoffout.h"
#endif
diff --git a/gcc/function.c b/gcc/function.c
index 4df71ceddb2..16bf73a6375 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -60,10 +60,6 @@ Boston, MA 02111-1307, USA. */
#include "ggc.h"
#include "tm_p.h"
-#ifndef ACCUMULATE_OUTGOING_ARGS
-#define ACCUMULATE_OUTGOING_ARGS 0
-#endif
-
#ifndef TRAMPOLINE_ALIGNMENT
#define TRAMPOLINE_ALIGNMENT FUNCTION_BOUNDARY
#endif
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 0fed3e92ef9..0a906725199 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -65,10 +65,6 @@ Boston, MA 02111-1307, USA. */
#include "ssa.h"
#include "params.h"
-#ifndef ACCUMULATE_OUTGOING_ARGS
-#define ACCUMULATE_OUTGOING_ARGS 0
-#endif
-
#ifdef DWARF_DEBUGGING_INFO
#include "dwarfout.h"
#endif
OpenPOWER on IntegriCloud