summaryrefslogtreecommitdiff
path: root/gcc/config/ip2k
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-20 14:28:13 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-20 14:28:13 +0000
commitd5871f4048bc6a2633f1791bb0e6796f55cc5659 (patch)
tree012b91656bab137d3a81907c99ac97627aa04a7f /gcc/config/ip2k
parent8975ab84eed09a7aab2e090edbd75e00531b7ddc (diff)
downloadgcc-d5871f4048bc6a2633f1791bb0e6796f55cc5659.tar.gz
Revert:
2004-02-19 Kazu Hirata <kazu@cs.umass.edu> * opts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS. * system.h (DEFAULT_SHORT_ENUMS): Poison. * config/cris/cris.h: Remove a comment about DEFAULT_SHORT_ENUMS. * config/ip2k/ip2k.h: Likewise. * doc/tm.texi (DEFAULT_SHORT_ENUMS): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78168 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/ip2k')
-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"