+2000-11-08 Jakub Jelinek <jakub@redhat.com>
+
+ * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int
+ before passing to fprintf.
+
2000-11-08 Jakub Jelinek <jakub@redhat.com>
* function.c (expand_function_start): Cast GET_MODE_SIZE to
reg = 1; \
if ((DELTA) >= 4096 || (DELTA) < -4096) \
fprintf (FILE, "\tset\t%d, %%g1\n\tadd\t%%o%d, %%g1, %%o%d\n", \
- (DELTA), reg, reg); \
+ (int)(DELTA), reg, reg); \
else \
- fprintf (FILE, "\tadd\t%%o%d, %d, %%o%d\n", reg, (DELTA), reg); \
+ fprintf (FILE, "\tadd\t%%o%d, %d, %%o%d\n", reg, (int)(DELTA), reg);\
fprintf (FILE, "\tor\t%%o7, %%g0, %%g1\n"); \
fprintf (FILE, "\tcall\t"); \
assemble_name (FILE, XSTR (XEXP (DECL_RTL (FUNCTION), 0), 0)); \