This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] Integer repesentation in the Ada FE
- From: Robert Dewar <dewar at adacore dot com>
- To: Bernd Trog <berndtrog at yahoo dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 26 Apr 2006 16:20:54 -0400
- Subject: Re: [Ada] Integer repesentation in the Ada FE
- References: <20060426194145.93279.qmail@web51808.mail.yahoo.com>
Bernd Trog wrote:
Is the handling of the value -32768 optimized in any way, while
-32769 and -32767 are not optimized in the same way?
No, see below
For interest, why do you ask?
I'm chasing a bug that only appeares when Standard.Integer'Size is 16:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26849
Trying to make the compiler work with standard integer size of
16 will be very difficult I fear. It really assumes an integer
size of at least 32 I would guess, though of course type Uint
does not depend on the format of Integer.
FOr a discussion of the representation of Uint, see the private
part of Uintp.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com