Modes on CONST_INTs

Geoff Keating geoffk@geoffk.org
Mon Nov 27 14:56:00 GMT 2000


> 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>


More information about the Gcc mailing list