GCC can't count operands.

Tony Mantler eek@escape.ca
Fri Mar 24 18:27:00 GMT 2000


At 8:07 PM -0600 3/24/2000, Alexandre Oliva wrote:
>On Mar 24, 2000, Tony Mantler <eek@escape.ca> wrote:
>
>> Parsing "%[0-9]+" doesn't strike me as being a terribly difficult.
>
>But it would change the meaning of already existing code.  Just think
>of `%[0-9]' immediately followed by numbers.

Please tell me you're kidding, is that syntax actually allowable? That
rather strikes me as a parsing and readability nightmare.

I certainly wouldn't be as quick to defend any syntax that would allow a
fixed-length numeric identifier to be followed immediatley by a bare number
without any separator. That's just broken.

Besides, legacy asm code was already broken when you guys (rightly) dropped
support for short branches to global symbols. It's not the end of the world
if you break legacy stuff in the name of sanity.


Cheers - Tony :)


--
Tony Mantler         Renaissance Nerd Extraordinaire         eek@escape.ca
Winnipeg, Manitoba, Canada                       http://www.escape.ca/~eek




More information about the Gcc-bugs mailing list