This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: PR gas/4572: division doesn't work on solaris/x86
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 5 Aug 2009 09:11:43 +0930
- Subject: Re: PATCH: PR gas/4572: division doesn't work on solaris/x86
- References: <20090804225702.GA28328@lucon.org>
On Tue, Aug 04, 2009 at 03:57:02PM -0700, H.J. Lu wrote:
> + /* Handle \/. */
> + if (ch == '/' && to > tostart && *(to - 1) == '\\')
So, if the output buffer just happened to fill up on the backslash,
then you will treat slash as a comment start? Not nice.
Looks like ARM has a similar bug when trying to avoid a comment start.
--
Alan Modra
Australia Development Lab, IBM