diff options
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/calls.c | 13 | ||||
-rw-r--r-- | gcc/combine.c | 13 | ||||
-rw-r--r-- | gcc/defaults.h | 13 | ||||
-rw-r--r-- | gcc/expr.c | 13 | ||||
-rw-r--r-- | gcc/final.c | 4 | ||||
-rw-r--r-- | gcc/function.c | 4 | ||||
-rw-r--r-- | gcc/toplev.c | 4 |
8 files changed, 20 insertions, 51 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 255545e..1bc4d07 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 f1eb3a80..6b5f508 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 f5f0b58..230d4fd 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 098beae..b178caf 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 */ @@ -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 2e3b40d..123ea08 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 4df71ce..16bf73a 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 0fed3e9..0a90672 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 |