diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-10 01:56:37 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-10 01:56:37 +0000 |
commit | e1bc04ba8c8fe15d6fd1467c2856ea949c8a67de (patch) | |
tree | e36551f683eb4b3ba0faf29a25ba609889c6d759 /gcc | |
parent | a30adbdf77f957436865d2d88c0ed46ed2bc9246 (diff) | |
download | gcc-e1bc04ba8c8fe15d6fd1467c2856ea949c8a67de.tar.gz |
* hwint.h (HOST_BITS_PER_LONGLONG): Deal with __int64 type.
* vmsdbg.h (DST_SRC_COMMAND): Test for type of long long or __int64,
not GNUC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47828 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/hwint.h | 4 | ||||
-rw-r--r-- | gcc/vmsdbg.h | 4 |
3 files changed, 13 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a0ca3f34a1c..1a5e442ef5e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Sun Dec 9 20:25:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> + + * hwint.h (HOST_BITS_PER_LONGLONG): Deal with __int64 type. + * vmsdbg.h (DST_SRC_COMMAND): Test for type of long long or __int64, + not GNUC. + Sun Dec 9 20:19:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> Douglas B. Rupp <rupp@gnat.com> diff --git a/gcc/hwint.h b/gcc/hwint.h index b4f3d8a5332..ea8be55fcdb 100644 --- a/gcc/hwint.h +++ b/gcc/hwint.h @@ -18,11 +18,15 @@ #ifdef HAVE_LONG_LONG # define HOST_BITS_PER_LONGLONG (CHAR_BIT * SIZEOF_LONG_LONG) #else +#ifdef HAVE__INT64 +# define HOST_BITS_PER_LONGLONG (CHAR_BIT * SIZEOF___INT64) +#else /* If we're here and we're GCC, assume this is stage 2+ of a bootstrap and 'long long' has the width of the *target*'s long long. */ # if GCC_VERSION > 3000 # define HOST_BITS_PER_LONGLONG LONG_LONG_TYPE_SIZE # endif /* gcc */ +#endif #endif /* no long long */ /* Find the largest host integer type and set its size and type. */ diff --git a/gcc/vmsdbg.h b/gcc/vmsdbg.h index b710494944f..40d669272a9 100644 --- a/gcc/vmsdbg.h +++ b/gcc/vmsdbg.h @@ -216,11 +216,13 @@ typedef struct _DST_SRC_COMMAND unsigned char dst_b_src_df_length; unsigned char dst_b_src_df_flags; unsigned short int dst_w_src_df_fileid; -#ifdef __GNUC__ +#ifdef HAVE_LONG_LONG long long dst_q_src_df_rms_cdt; #else +#ifdef HAVE___INT64 __int64 dst_q_src_df_rms_cdt; #endif +#endif unsigned int dst_l_src_df_rms_ebk; unsigned short int dst_w_src_df_rms_ffb; unsigned char dst_b_src_df_rms_rfo; |