aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-04-21 17:10:44 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-04-21 17:10:44 +0000
commit34a7d6c6d367a964e24ea7f0f8c868cc531736f8 (patch)
tree9759b5fd6a97a5d1be90e7a4b8f987753d406d33
parent85fdf9067facc06446531798a158b53c03c1373c (diff)
downloadgdb-34a7d6c6d367a964e24ea7f0f8c868cc531736f8.zip
gdb-34a7d6c6d367a964e24ea7f0f8c868cc531736f8.tar.gz
gdb-34a7d6c6d367a964e24ea7f0f8c868cc531736f8.tar.bz2
Initialize the X_md field.
2010-04-21 H.J. Lu <hongjiu.lu@intel.com> * expr.c (expr): Initialize the X_md field.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/expr.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 5ad2e43..8dcc359 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
+
+ * expr.c (expr): Initialize the X_md field.
+
2010-04-20 Joseph Myers <joseph@codesourcery.com>
* config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
diff --git a/gas/expr.c b/gas/expr.c
index fe2b81b..4517bc6 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -1740,6 +1740,7 @@ expr (int rankarg, /* Larger # is higher rank. */
input_line_pointer += op_chars; /* -> after operator. */
+ right.X_md = 0;
rightseg = expr (op_rank[(int) op_left], &right, mode);
if (right.X_op == O_absent)
{