macro expansion and operator &&
Alan Modra
amodra@gmail.com
Tue Aug 17 11:46:00 GMT 2010
On Tue, Aug 17, 2010 at 07:57:50AM +0100, Jan Beulich wrote:
> Are you sure it's x&yz?
No, silly me. I didn't check. x&yz is what you get without
--alternate.
> > That was the first thing I tried when looking into this problem.
> > gas/all/altmacro fails.
>
> Wasn't that just because the .noaltmacro portion of the test
> incorrectly expects the & in the macro definition to be stripped?
> That may need to be changed if the sources get fixed.
It's not that '&' is a separator that should be stripped. '&' starts
a macro parameter substitution, just as '\\' does. So perhaps the
FIXME should say "document this feature". :-)
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list