mips.h (PTRDIFF_TYPE): Revert broken change; PTRDIFF_TYPE should be based solely on Pmode.

2000-03-07  Andrew Haley  <aph@cygnus.com>

	* config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
	PTRDIFF_TYPE should be based solely on Pmode.
	(SIZE_TYPE): ditto.

From-SVN: r32389
This commit is contained in:
Andrew Haley 2000-03-07 20:49:45 +00:00 committed by Andrew Haley
parent 3cce094dd9
commit 79e69af025
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2000-03-07 Andrew Haley <aph@cygnus.com>
* config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
PTRDIFF_TYPE should be based solely on Pmode.
(SIZE_TYPE): ditto.
2000-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* rtl.h (rtunion_def): Constify member `rtstr'.

View File

@ -4660,14 +4660,12 @@ while (0)
#ifndef SIZE_TYPE
#define NO_BUILTIN_SIZE_TYPE
#define SIZE_TYPE (Pmode == DImode || !TARGET_64BIT \
? "long unsigned int" : "unsigned int")
#define SIZE_TYPE (Pmode == DImode ? "long unsigned int" : "unsigned int")
#endif
#ifndef PTRDIFF_TYPE
#define NO_BUILTIN_PTRDIFF_TYPE
#define PTRDIFF_TYPE (Pmode == DImode || !TARGET_64BIT \
? "long int" : "int")
#define PTRDIFF_TYPE (Pmode == DImode ? "long int" : "int")
#endif
/* See mips_expand_prologue's use of loadgp for when this should be