aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Haley <aph@cygnus.com>2000-03-07 20:49:45 +0000
committerAndrew Haley <aph@gcc.gnu.org>2000-03-07 20:49:45 +0000
commit79e69af0254238d0b5fa1940c5f7ecfce9e11bcd (patch)
tree624ef04e66934fc7ab537d7b25fdb1d1b4a665b5
parent3cce094dd9c9770f0dc751485d2f779fdb69b4db (diff)
downloadgcc-79e69af0254238d0b5fa1940c5f7ecfce9e11bcd.zip
gcc-79e69af0254238d0b5fa1940c5f7ecfce9e11bcd.tar.gz
gcc-79e69af0254238d0b5fa1940c5f7ecfce9e11bcd.tar.bz2
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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/mips/mips.h6
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 675e24a..140d7ef 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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'.
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index c79ad1e..9369f45 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -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