diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2001-12-05 14:41:47 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2001-12-05 09:41:47 -0500 |
commit | 1615c261e3b2a6d09a3ae19c52562d9083139ed0 (patch) | |
tree | 388a447bc5bbc7fb6d661b7b2e505cd64496ed2f /gcc | |
parent | 1218665b70c0577046f86c7d950832dd703a67d1 (diff) | |
download | gcc-1615c261e3b2a6d09a3ae19c52562d9083139ed0.zip gcc-1615c261e3b2a6d09a3ae19c52562d9083139ed0.tar.gz gcc-1615c261e3b2a6d09a3ae19c52562d9083139ed0.tar.bz2 |
vms.h (ADA_LONG_TYPE_SIZE): New macro.
* config/alpha/vms.h (ADA_LONG_TYPE_SIZE): New macro.
* doc/tm.texi (ADA_LONG_TYPE_SIZE): Document it.
From-SVN: r47676
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/alpha/vms.h | 3 | ||||
-rw-r--r-- | gcc/doc/tm.texi | 8 |
3 files changed, 15 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cbd8b3c..ef9ab80 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Wed Dec 5 09:33:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> + + * config/alpha/vms.h (ADA_LONG_TYPE_SIZE): New macro. + * doc/tm.texi (ADA_LONG_TYPE_SIZE): Document it. + 2001-12-05 Jakub Jelinek <jakub@redhat.com> * gcse.c (store_killed_in_insn): Consider pure calls diff --git a/gcc/config/alpha/vms.h b/gcc/config/alpha/vms.h index d53deb3..61b2fb6 100644 --- a/gcc/config/alpha/vms.h +++ b/gcc/config/alpha/vms.h @@ -80,9 +80,10 @@ Boston, MA 02111-1307, USA. */ #define STRUCT_VALUE 0 #undef PCC_STATIC_STRUCT_RETURN -/* "long" is 32 bits. */ +/* "long" is 32 bits, but 64 bits for Ada. */ #undef LONG_TYPE_SIZE #define LONG_TYPE_SIZE 32 +#define ADA_LONG_TYPE_SIZE 64 /* Pointer is 32 bits but the hardware has 64-bit addresses, sign extended. */ #undef POINTER_SIZE diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 4c3da22..7932811 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -1372,6 +1372,14 @@ unit.) A C expression for the size in bits of the type @code{long} on the target machine. If you don't define this, the default is one word. +@findex ADA_LONG_TYPE_SIZE +@item ADA_LONG_TYPE_SIZE +On some machines, the size used for the Ada equivalent of the type +@code{long} by a native Ada compiler differs from that used by C. In +that situation, define this macro to be a C expression to be used for +the size of that type. If you don't define this, the default is the +value of @code{LONG_TYPE_SIZE}. + @findex MAX_LONG_TYPE_SIZE @item MAX_LONG_TYPE_SIZE Maximum number for the size in bits of the type @code{long} on the |