]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
mips.h (PTRDIFF_TYPE): Revert broken change; PTRDIFF_TYPE should be based solely...
authorAndrew Haley <aph@cygnus.com>
Tue, 7 Mar 2000 20:49:45 +0000 (20:49 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Tue, 7 Mar 2000 20:49:45 +0000 (20:49 +0000)
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

gcc/ChangeLog
gcc/config/mips/mips.h

index 675e24ae34563a26f897555da2dfa8bc65038d9c..140d7ef1af8dfa00cc93ce57ac2aa87d2a15aeff 100644 (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'.
index c79ad1e7e65a9f94329ec9433402910b6a540582..9369f452569ceb969bdb00ee034e660569939ef3 100644 (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