Commit e9986d3a by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

mmix.h (FUNCTION_ARG_CALLEE_COPIES): Define the same as FUNCTION_ARG_PASS_BY_REFERENCE.

	* config/mmix/mmix.h (FUNCTION_ARG_CALLEE_COPIES): Define the same
	as FUNCTION_ARG_PASS_BY_REFERENCE.

From-SVN: r58970
parent 581d9404
2002-11-10 Hans-Peter Nilsson <hp@bitrange.com>
* config/mmix/mmix.h (FUNCTION_ARG_CALLEE_COPIES): Define the same
as FUNCTION_ARG_PASS_BY_REFERENCE.
2002-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca> 2002-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
* pa.h (STARTING_FRAME_OFFSET): Change offset for TARGET_64BIT to 16. * pa.h (STARTING_FRAME_OFFSET): Change offset for TARGET_64BIT to 16.
......
...@@ -735,8 +735,13 @@ enum reg_class ...@@ -735,8 +735,13 @@ enum reg_class
/* This *sounds* good, but does not seem to be implemented correctly to /* This *sounds* good, but does not seem to be implemented correctly to
be a win; at least it wasn't in 2.7.2. FIXME: Check and perhaps be a win; at least it wasn't in 2.7.2. FIXME: Check and perhaps
replace with a big comment. */ replace with a big comment.
#define FUNCTION_ARG_CALLEE_COPIES(CUM, MODE, TYPE, NAMED) 1 The definition needs to match or be a subset of
FUNCTION_ARG_PASS_BY_REFERENCE, since not all callers check that before
usage. Watch lots of C++ test-cases fail if set to 1, for example
g++.dg/init/byval1.C. */
#define FUNCTION_ARG_CALLEE_COPIES(CUM, MODE, TYPE, NAMED) \
mmix_function_arg_pass_by_reference (&(CUM), MODE, TYPE, NAMED)
typedef struct { int regs; int lib; } CUMULATIVE_ARGS; typedef struct { int regs; int lib; } CUMULATIVE_ARGS;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment