Commit 6cada0cd by Jakub Jelinek Committed by Jakub Jelinek

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
parent 36791f1e
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
HOST_WIDE_INT before negating it.
......
......@@ -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)); \
......
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