* sparc.c (print_operand): Fix uninitialized warning.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Mon, 12 May 2003 02:05:52 +0000 (02:05 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Mon, 12 May 2003 02:05:52 +0000 (02:05 +0000)
From-SVN: r66707

gcc/ChangeLog
gcc/config/sparc/sparc.c

index da8a280c1004234810b2327639df8c2fbbcd20c6..74b8da8b82478278f6d206afb0001415fc36b09f 100644 (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
index 857fe3f321b050869a64d3a0978d99a250ce7beb..ca97286364360e4d6262f88b30f01bacda50f795 100644 (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;