From b73bff7e3f78151ef33441bd66e8ac3df12f0b80 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Mon, 7 May 2001 15:28:50 +0000 Subject: [PATCH] pa.h (MAX_LONG_TYPE_SIZE): Should be 32, not 64. * pa.h (MAX_LONG_TYPE_SIZE): Should be 32, not 64. * pa-64.h (*_TYPE_SIZE): Undefine before redefining. From-SVN: r41893 --- gcc/ChangeLog | 5 +++++ gcc/config/pa/pa-64.h | 7 +++++++ gcc/config/pa/pa.h | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dee8bdcd6ea..bddbc08ef6a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon May 7 09:30:14 2001 Jeffrey A Law (law@cygnus.com) + + * pa.h (MAX_LONG_TYPE_SIZE): Should be 32, not 64. + * pa-64.h (*_TYPE_SIZE): Undefine before redefining. + 2001-05-06 Zack Weinberg * Makefile.in (tradcpp0): Correct typo in dependency list. diff --git a/gcc/config/pa/pa-64.h b/gcc/config/pa/pa-64.h index e09447237af..6624df2d98f 100644 --- a/gcc/config/pa/pa-64.h +++ b/gcc/config/pa/pa-64.h @@ -51,12 +51,19 @@ Boston, MA 02111-1307, USA. */ #define WCHAR_TYPE_SIZE 32 /* If it is not listed here, then the default selected by GCC is OK. */ +#undef SHORT_TYPE_SIZE #define SHORT_TYPE_SIZE 16 +#undef INT_TYPE_SIZE #define INT_TYPE_SIZE 32 +#undef MAX_LONG_TYPE_SIZE #define MAX_LONG_TYPE_SIZE 64 +#undef LONG_TYPE_SIZE #define LONG_TYPE_SIZE 64 +#undef LONG_LONG_TYPE_SIZE #define LONG_LONG_TYPE_SIZE 64 +#undef FLOAT_TYPE_SIZE #define FLOAT_TYPE_SIZE 32 +#undef DOUBLE_TYPE_SIZE #define DOUBLE_TYPE_SIZE 64 /* This should be 128, but until we work out the ABI for the 128bit FP codes supplied by HP we'll keep it at 64 bits. */ diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index 1ce9794839a..1691ba46a9a 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -415,7 +415,7 @@ extern int target_flags; But on a machine with 16-bit registers, this would be 16. */ #define BITS_PER_WORD (TARGET_64BIT ? 64 : 32) #define MAX_BITS_PER_WORD 64 -#define MAX_LONG_TYPE_SIZE 64 +#define MAX_LONG_TYPE_SIZE 32 #define MAX_WCHAR_TYPE_SIZE 32 /* Width of a word, in units (bytes). */ -- 2.30.2