This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] Standard.Interger'Size = 32?
- 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: Thu, 03 Mar 2005 01:14:42 +0000
- Subject: Re: [Ada] Standard.Interger'Size = 32?
- References: <20050302220201.97509.qmail@web51805.mail.yahoo.com>
Bernd Trog wrote:
Hello,
according to the gnat ref. manual
http://gcc.gnu.org/onlinedocs/gnat_rm/Implementation-Defined-Characteristics.html
Standard.Interger'Size is 32 bit for the compilation target.
I'd like to know if the Ada frontend (not the runtime
system) depends on this (target) setting in any way?
Yes, the front end uses Ada strings which are indexed by Integer.
Integer cannot be 16 bits. The Ada RM does allow this, but I am
pretty sure GNAT counts on integer being 32 bits.