Commit 0c769cf8 by David Edelsohn Committed by David Edelsohn

rs6000.h (RETURN_IN_MEMORY): Cast to HOST_WIDE_INT not HOST_WIDEST_INT.

        * config/rs6000/rs6000.h (RETURN_IN_MEMORY):  Cast to HOST_WIDE_INT
        not HOST_WIDEST_INT.
        (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes.

From-SVN: r51245
parent 7b119cc6
2002-03-23 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.h (RETURN_IN_MEMORY): Cast to HOST_WIDE_INT
not HOST_WIDEST_INT.
(RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes.
2002-03-23 Richard Earnshaw <rearnsha@arm.com> 2002-03-23 Richard Earnshaw <rearnsha@arm.com>
PR java/5489 PR java/5489
......
...@@ -1464,7 +1464,7 @@ typedef struct rs6000_stack { ...@@ -1464,7 +1464,7 @@ typedef struct rs6000_stack {
#define RETURN_IN_MEMORY(TYPE) \ #define RETURN_IN_MEMORY(TYPE) \
(AGGREGATE_TYPE_P (TYPE) && \ (AGGREGATE_TYPE_P (TYPE) && \
(TARGET_AIX_STRUCT_RET || \ (TARGET_AIX_STRUCT_RET || \
(unsigned HOST_WIDEST_INT) int_size_in_bytes (TYPE) > 8)) (unsigned HOST_WIDE_INT) int_size_in_bytes (TYPE) > 8))
/* DRAFT_V4_STRUCT_RET defaults off. */ /* DRAFT_V4_STRUCT_RET defaults off. */
#define DRAFT_V4_STRUCT_RET 0 #define DRAFT_V4_STRUCT_RET 0
...@@ -1577,8 +1577,7 @@ typedef struct rs6000_args ...@@ -1577,8 +1577,7 @@ typedef struct rs6000_args
#define RS6000_ARG_SIZE(MODE, TYPE) \ #define RS6000_ARG_SIZE(MODE, TYPE) \
((MODE) != BLKmode \ ((MODE) != BLKmode \
? (GET_MODE_SIZE (MODE) + (UNITS_PER_WORD - 1)) / UNITS_PER_WORD \ ? (GET_MODE_SIZE (MODE) + (UNITS_PER_WORD - 1)) / UNITS_PER_WORD \
: ((unsigned HOST_WIDE_INT) int_size_in_bytes (TYPE) \ : (int_size_in_bytes (TYPE) + (UNITS_PER_WORD - 1)) / UNITS_PER_WORD)
+ (UNITS_PER_WORD - 1)) / UNITS_PER_WORD)
/* Initialize a variable CUM of type CUMULATIVE_ARGS /* Initialize a variable CUM of type CUMULATIVE_ARGS
for a call to a function whose data type is FNTYPE. for a call to a function whose data type is FNTYPE.
......
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