[m32c] ptrdiff_t

DJ Delorie dj@redhat.com
Tue Apr 18 18:58:00 GMT 2006


Applied.

2006-04-18  DJ Delorie  <dj@redhat.com>

	* config/m32c/m32c.h (PTRDIFF_TYPE): Define.

Index: config/m32c/m32c.h
===================================================================
--- config/m32c/m32c.h	(revision 113053)
+++ config/m32c/m32c.h	(working copy)
@@ -171,6 +171,9 @@ machine_function;
 
 #define DEFAULT_SIGNED_CHAR 1
 
+#undef PTRDIFF_TYPE
+#define PTRDIFF_TYPE (TARGET_A16 ? "int" : "long int")
+
 /* REGISTER USAGE */
 
 /* Register Basics */



More information about the Gcc-patches mailing list