PR gas/14263
authorNick Clifton <nickc@redhat.com>
Fri, 29 Jun 2012 15:15:48 +0000 (15:15 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 29 Jun 2012 15:15:48 +0000 (15:15 +0000)
* config/tc-arm.c (parse_operands): Initialise val.

gas/ChangeLog
gas/config/tc-arm.c

index 111a211ba153fa3c07d451c3371de738d3c12950..d0e0f108b3f7efbc739c92a25a49c5261c6b1129 100644 (file)
@@ -1,3 +1,8 @@
+2012-06-29  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/14263
+       * config/tc-arm.c (parse_operands): Initialise val.
+
 2012-06-28  Nick Clifton  <nickc@redhat.com>
 
        PR gas/14260
index 43e20d1ed3b7933ea8fe373fb564a8d3962974a4..004f7510341706dd50adc861e1bacb36939626bd 100644 (file)
@@ -6202,7 +6202,7 @@ parse_operands (char *str, const unsigned int *pattern, bfd_boolean thumb)
   unsigned const int *upat = pattern;
   char *backtrack_pos = 0;
   const char *backtrack_error = 0;
-  int i, val, backtrack_index = 0;
+  int i, val = 0, backtrack_index = 0;
   enum arm_reg_type rtype;
   parse_operand_result result;
   unsigned int op_parse_code;