This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: fix a mmix assertion failure
On Wed, Mar 02, 2005 at 12:20:40AM +0100, Andreas Schwab wrote:
> Alan Modra <amodra@bigpond.net.au> writes:
>
> > @@ -1561,7 +1561,13 @@ fb_label_name (long n, /* We just saw "n
> > char symbol_name_temporary[20]; /* Build up a number, BACKWARDS. */
> >
> > know (n >= 0);
> > - know (augend == 0 || augend == 1);
> > + know (
> > +#ifdef TC_MMIX
> > + (unsigned long) augend <= 2 /* See mmix_fb_label. */
> > +#else
> > + (unsigned long) augend <= 1
> > +#endif
> > + );
>
> That won't work when know is a macro. You can't have preprocessor
> directives inside a macro parameter.
Arggh. I should know that!
--
Alan Modra
IBM OzLabs - Linux Technology Centre