This is the mail archive of the gcc@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: Modes on CONST_INTs


> Date: Mon, 27 Nov 2000 21:33:54 +0100
> From: Hans-Peter Nilsson <hans-peter.nilsson@axis.com>

> Right.  Also, having the signedness/unsignedness property
> available would find more bugs, as Michael Meissner pointed out.
> You can't really have a canonical representation of a number
> unless you know how it was used.  Currently we have two
> representations, for example both 255 and -1 for
> all-bits-in-a-byte to track that, with inevitable bugs like the
> ones at the URL; "QImode/U -1" might be an alternative.

No, we only have one.  All the 255 occurrences in the RTL are wrong.

-- 
- Geoffrey Keating <geoffk@geoffk.org>

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