This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GCC can't count operands.


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]