summaryrefslogtreecommitdiff
path: root/gcc/config/ip2k/ip2k.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/ip2k/ip2k.h')
-rw-r--r--gcc/config/ip2k/ip2k.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/ip2k/ip2k.h b/gcc/config/ip2k/ip2k.h
index 4685d030c1c..6457e8bb3ef 100644
--- a/gcc/config/ip2k/ip2k.h
+++ b/gcc/config/ip2k/ip2k.h
@@ -108,6 +108,12 @@ extern int target_flags;
#define DEFAULT_SIGNED_CHAR 1
+/* #define DEFAULT_SHORT_ENUMS 1
+ This was the default for the IP2k but gcc has a bug (as of 17th May
+ 2001) in the way that library calls to the memory checker functions
+ are issues that screws things up if an enum is not equivalent to
+ an int. */
+
#define SIZE_TYPE "unsigned int"
#define PTRDIFF_TYPE "int"