gas:Reject ++ and --

Nathan Sidwell nathan@codesourcery.com
Fri Apr 16 15:31:00 GMT 2004


Alan Modra wrote:
> On Wed, Mar 17, 2004 at 04:23:37PM +0000, Nathan Sidwell wrote:
> 
>>the attached patch causes gas to not interpret ++ and -- as two
>>+ or - operators in a row.  The current behaviour is to allow
>>'a ++ b' as if it was 'a + (+b)' and '++ a' as if '+(+a)'.  The problem
> 
> 
> This patch had an off-by-one error, breaking code like the following:
Gah!, sorry

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk




More information about the Binutils mailing list