and LIT_NAME_P.
(move_src_operand): Remove compile-time warning.
* m32r/m32r.h (ROUND_ADVANCE_ARG): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60262
138bc75d-0d04-0410-961f-
82ee72b054a4
+2002-12-18 Doug Evans <dje@sebabeach.org>
+
+ * m32r/m32r.c (addr24_operand): Fix arg to CONSTANT_POOL_ADDRESS_P
+ and LIT_NAME_P.
+ (move_src_operand): Remove compile-time warning.
+ * m32r/m32r.h (ROUND_ADVANCE_ARG): Ditto.
+
2002-12-18 Jason Merrill <jason@redhat.com>
* unwind-dw2-fde.c (frame_downheap): Split out from...
rtx sym = XEXP (XEXP (op, 0), 0);
return (SMALL_NAME_P (XSTR (sym, 0))
|| (TARGET_ADDR24
- && (CONSTANT_POOL_ADDRESS_P (op)
- || LIT_NAME_P (XSTR (op, 0)))));
+ && (CONSTANT_POOL_ADDRESS_P (sym)
+ || LIT_NAME_P (XSTR (sym, 0)))));
}
return 0;
low = CONST_DOUBLE_LOW (op);
high = CONST_DOUBLE_HIGH (op);
- return high == 0 && low <= 0xffffffff;
+ return high == 0 && low <= (unsigned) 0xffffffff;
}
else
return 0;
#define ROUND_ADVANCE_ARG(MODE, TYPE) \
((MODE) == BLKmode \
? ROUND_ADVANCE ((unsigned int) int_size_in_bytes (TYPE)) \
- : ROUND_ADVANCE (GET_MODE_SIZE (MODE)))
+ : ROUND_ADVANCE ((unsigned int) GET_MODE_SIZE (MODE)))
/* Round CUM up to the necessary point for argument MODE/TYPE. */
#define ROUND_ADVANCE_CUM(CUM, MODE, TYPE) (CUM)