GCC can't count operands.
Horst von Brand
vonbrand@sleipnir.valparaiso.cl
Sat Mar 25 01:18:00 GMT 2000
Tony Mantler <eek@escape.ca> said:
> At 5:39 PM -0600 3/24/2000, Alexandre Oliva wrote:
> >On Mar 24, 2000, Tony Mantler <eek@escape.ca> wrote:
[...]
> >But what's your point? Are you volunteering to modify GCC so that it
> >accepts more than 10 operands in ASM statements, and to find a way to
> >represent them in the ASM pattern? Remember that there are only 10
> >digits in decimal, so you'd have a little bit of trouble to represent
> >the 11th operand in "%?".
> Parsing "%[0-9]+" doesn't strike me as being a terribly difficult.
Fixing each and every use of "%[0-9][0-9]+" where the second [] is a digit
string to follow the argument isn't either. But find them first. And make
your patches stick then.
> And no, I'm not volunteering for any tasks. I'm pointing out a bug (simple
> valid code that won't compile) and asking you guys nicely to fix it. That's
> what a *-bugs mailing list is for. If you don't want to fix it, then I'll
> just have to live with a broken compiler, but you shouldn't expect me to be
> happy about it.
Be happy that you _have_ a compiler in the first place.
--
Horst von Brand vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viña del Mar, Chile +56 32 672616
More information about the Gcc-bugs
mailing list