This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Minor PA cleanup



Just a minor cleanup for the PA port.  Applied to the mainline sources, but
not the branch.


	* pa.h (MAX_LONG_TYPE_SIZE): Should be 32, not 64.
	* pa-64.h (*_TYPE_SIZE): Undefine before redefining.

Index: pa.h
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/config/pa/pa.h,v
retrieving revision 1.209
diff -c -3 -p -r1.209 pa.h
*** pa.h	2001/04/30 22:37:38	1.209
--- pa.h	2001/05/07 15:23:20
*************** extern int target_flags;
*** 415,421 ****
     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_WCHAR_TYPE_SIZE 32
  
  /* Width of a word, in units (bytes).  */
--- 415,421 ----
     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 32
  #define MAX_WCHAR_TYPE_SIZE 32
  
  /* Width of a word, in units (bytes).  */
Index: pa-64.h
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/config/pa/pa-64.h,v
retrieving revision 1.22
diff -c -3 -p -r1.22 pa-64.h
*** pa-64.h	2001/04/30 22:37:38	1.22
--- pa-64.h	2001/05/07 15:23:20
*************** Boston, MA 02111-1307, USA.  */
*** 51,62 ****
--- 51,69 ----
  #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.  */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]