* sparc.c (print_operand): Fix uninitialized warning.

From-SVN: r66707
This commit is contained in:
Kaveh R. Ghazi 2003-05-12 02:05:52 +00:00 committed by Kaveh Ghazi
parent d7d89a5816
commit ffa916bafb
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-05-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* sparc.c (print_operand): Fix uninitialized warning.
2003-05-12 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* cfgloopanal.c (num_loop_insns, average_num_loop_insns): Count only

View File

@ -6481,7 +6481,10 @@ print_operand (file, x, code)
else if (GET_CODE(x) == CONST_DOUBLE)
i = CONST_DOUBLE_LOW (x);
else
output_operand_lossage ("invalid %%s operand");
{
output_operand_lossage ("invalid %%s operand");
return;
}
i = trunc_int_for_mode (i, SImode);
fprintf (file, HOST_WIDE_INT_PRINT_DEC, i);
return;