This is the mail archive of the 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]
Other format: [Raw text]

Re: [PATCH] Introduce abi_word_mode

On 10/10/2006, at 4:36 AM, Richard Kenner wrote:

I am firmly of the belief that every use of word_mode in the compiler
represents some kind of bug or design deficiency (and I seem to
remember saying the same thing the last time this came up).  In each
use of it some specific thing is meant, but it is not always the same
thing, and sometimes the thing that is meant does not always exist.

I don't follow. In the compiler, "word_mode" means "the integral mode with
BITS_PER_WORD bits": nothing more, nothing less.

That's like saying "the word 'cow' means 'bovine'". It's true but it doesn't tell you how to use it or why. It especially doesn't help if you're trying to decide if a particular four-legged creature is a cow or not.

Or, to put it another way, I believe that every use of BITS_PER_WORD also represents some kind of bug or design deficiency. The flaw is in the use of the word 'word'.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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