From 9c52ce3abad12c5469b5d081f83afbb464e9972c Mon Sep 17 00:00:00 2001 From: law Date: Mon, 7 May 2001 15:28:50 +0000 Subject: [PATCH] * pa.h (MAX_LONG_TYPE_SIZE): Should be 32, not 64. * pa-64.h (*_TYPE_SIZE): Undefine before redefining. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41893 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 dee8bdc..bddbc08 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 e094472..6624df2 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 1ce9794..1691ba4 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.7.4