Commit 1bdfacf6 by Kaveh R. Ghazi Committed by Kaveh Ghazi

* fr30.c (fr30_print_operand): Fix format specifier warnings.

From-SVN: r66883
parent 5f1ed3b2
2003-05-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2003-05-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* fr30.c (fr30_print_operand): Fix format specifier warnings.
* dsp16xx.c (print_operand_address): Fix format specifier warning. * dsp16xx.c (print_operand_address): Fix format specifier warning.
* dsp16xx.h (INCLUDE_DEFAULTS): Add missing initializers. * dsp16xx.h (INCLUDE_DEFAULTS): Add missing initializers.
......
...@@ -537,7 +537,7 @@ fr30_print_operand (file, x, code) ...@@ -537,7 +537,7 @@ fr30_print_operand (file, x, code)
val &= 0xff; val &= 0xff;
fprintf (file, "%d", val); fprintf (file, HOST_WIDE_INT_PRINT_DEC, val);
} }
return; return;
...@@ -547,7 +547,7 @@ fr30_print_operand (file, x, code) ...@@ -547,7 +547,7 @@ fr30_print_operand (file, x, code)
|| INTVAL (x) > 32) || INTVAL (x) > 32)
output_operand_lossage ("fr30_print_operand: invalid %%x code"); output_operand_lossage ("fr30_print_operand: invalid %%x code");
else else
fprintf (file, "%d", INTVAL (x) - 16); fprintf (file, HOST_WIDE_INT_PRINT_DEC, INTVAL (x) - 16);
return; return;
case 'F': case 'F':
...@@ -609,7 +609,7 @@ fr30_print_operand (file, x, code) ...@@ -609,7 +609,7 @@ fr30_print_operand (file, x, code)
debug_rtx (x); debug_rtx (x);
output_operand_lossage ("fr30_print_operand: unhandled MEM"); output_operand_lossage ("fr30_print_operand: unhandled MEM");
} }
fprintf (file, "@(r14, #%d)", val); fprintf (file, "@(r14, #" HOST_WIDE_INT_PRINT_DEC ")", val);
} }
else else
{ {
...@@ -620,7 +620,7 @@ fr30_print_operand (file, x, code) ...@@ -620,7 +620,7 @@ fr30_print_operand (file, x, code)
debug_rtx (x); debug_rtx (x);
output_operand_lossage ("fr30_print_operand: unhandled MEM"); output_operand_lossage ("fr30_print_operand: unhandled MEM");
} }
fprintf (file, "@(r15, #%d)", val); fprintf (file, "@(r15, #" HOST_WIDE_INT_PRINT_DEC ")", val);
} }
break; break;
......
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