This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: GCC can't count operands.
- To: Alexandre Oliva <aoliva at cygnus dot com>
- Subject: Re: GCC can't count operands.
- From: Tony Mantler <eek at escape dot ca>
- Date: Fri, 24 Mar 2000 20:26:33 -0600
- Cc: gcc-bugs at gcc dot gnu dot org
- Organisation: Judean People's Front; Department of Whips, Chains, Thumb-Screws, Six Tons of Whipping Cream, the Entire Soprano Section of the Mormon Tabernacle Choir and Guest Apperances of Eva Peron aka Eric Conspiracy Secret Laboratories
- References: Tony Mantler's message of "Fri, 24 Mar 2000 19:48:45 -0600"<v04003a03b50096cba707@[24.66.67.189]><v04003a01b5018653e032@[24.66.67.189]><v04003a04b501c75d2824@[24.66.67.189]>
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