GAS bug when dividing constants

Alan Modra amodra@bigpond.net.au
Mon Mar 30 07:03:00 GMT 2009


On Sun, Mar 29, 2009 at 06:07:10PM -0700, Bogdan wrote:
> 
> This works
> 
> MOV 2 + 2, %AX
> 
> while this fails
> 
> MOV 2 / 2, %AX
> 
> Probably an easy-to-fix preprocessor bug.

You didn't say which target, but I'd guess you have one that uses
'/' to start the beginning of a comment.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list