This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: GAS bug when dividing constants
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Bogdan <love4boobies at yahoo dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 30 Mar 2009 17:33:39 +1030
- Subject: Re: GAS bug when dividing constants
- References: <257408.39697.qm@web37108.mail.mud.yahoo.com>
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