sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int before passing to fprintf.

* config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int
	before passing to fprintf.

From-SVN: r37320
This commit is contained in:
Jakub Jelinek 2000-11-08 18:19:51 +01:00 committed by Jakub Jelinek
parent 36791f1ef1
commit 6cada0cd7d
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -3238,9 +3238,9 @@ do { \
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)); \