This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]