diff options
author | Jeffrey A Law <law@cygnus.com> | 2001-05-07 15:28:50 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2001-05-07 09:28:50 -0600 |
commit | b73bff7e3f78151ef33441bd66e8ac3df12f0b80 (patch) | |
tree | 0e012f9cc99dfc5463ec6072cfe9ff6f7f83b341 /gcc/config | |
parent | e51becf539f3872b6bb6b2366524bbf4b50959ec (diff) | |
download | gcc-b73bff7e3f78151ef33441bd66e8ac3df12f0b80.zip gcc-b73bff7e3f78151ef33441bd66e8ac3df12f0b80.tar.gz gcc-b73bff7e3f78151ef33441bd66e8ac3df12f0b80.tar.bz2 |
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
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/pa/pa-64.h | 7 | ||||
-rw-r--r-- | gcc/config/pa/pa.h | 2 |
2 files changed, 8 insertions, 1 deletions
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). */ |