Commit 0d9484c5 by Jakub Jelinek Committed by Jakub Jelinek

sparc.c (print_operand): Cast fprintf arguments to match the format.


	* config/sparc/sparc.c (print_operand): Cast fprintf arguments to
	match the format.

From-SVN: r30981
parent 76a7c776
1999-12-16 Jakub Jelinek <jakub@redhat.com>
* config/sparc/sparc.c (print_operand): Cast fprintf arguments
to match the format.
1999-12-16 David S. Miller <davem@redhat.com> 1999-12-16 David S. Miller <davem@redhat.com>
* expr.c (emit_move_insn_1): Only emit clobbers if one of * expr.c (emit_move_insn_1): Only emit clobbers if one of
......
...@@ -5512,10 +5512,10 @@ print_operand (file, x, code) ...@@ -5512,10 +5512,10 @@ print_operand (file, x, code)
|| GET_MODE_CLASS (GET_MODE (x)) == MODE_INT)) || GET_MODE_CLASS (GET_MODE (x)) == MODE_INT))
{ {
if (CONST_DOUBLE_HIGH (x) == 0) if (CONST_DOUBLE_HIGH (x) == 0)
fprintf (file, "%u", CONST_DOUBLE_LOW (x)); fprintf (file, "%u", (unsigned int) CONST_DOUBLE_LOW (x));
else if (CONST_DOUBLE_HIGH (x) == -1 else if (CONST_DOUBLE_HIGH (x) == -1
&& CONST_DOUBLE_LOW (x) < 0) && CONST_DOUBLE_LOW (x) < 0)
fprintf (file, "%d", CONST_DOUBLE_LOW (x)); fprintf (file, "%d", (int) CONST_DOUBLE_LOW (x));
else else
output_operand_lossage ("long long constant not a valid immediate operand"); output_operand_lossage ("long long constant not a valid immediate operand");
} }
......
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