PATCH: PR gas/4572: division doesn't work on solaris/x86

Alan Modra amodra@bigpond.net.au
Tue Aug 4 23:41:00 GMT 2009


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



More information about the Binutils mailing list