This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Initialize the X_md field
- From: Alan Modra <amodra at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 22 Apr 2010 10:58:37 +0930
- Subject: Re: PATCH: Initialize the X_md field
- References: <20100421171001.GA31329@intel.com>
On Wed, Apr 21, 2010 at 10:10:01AM -0700, H.J. Lu wrote:
> Index: expr.c
> ===================================================================
> RCS file: /cvs/src/src/gas/expr.c,v
> retrieving revision 1.81
> diff -u -p -r1.81 expr.c
> --- expr.c 11 Dec 2009 13:42:09 -0000 1.81
> +++ expr.c 21 Apr 2010 16:56:34 -0000
> @@ -1740,6 +1740,7 @@ expr (int rankarg, /* Larger # is highe
>
> 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)
> {
There are many other calls to expr(). Why is it that just this one
needs to init X_md?
--
Alan Modra
Australia Development Lab, IBM