aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-02-23 14:10:58 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-02-23 14:10:58 +0000
commit221ee7c920c3eb45da77f01f82c4611798473fcf (patch)
tree684973460c4b2cce9b47cff5b069f2fbfe37d61d /gcc/config
parent9bdfe70405125e57b5ef92bba66eb268c43ab1d4 (diff)
downloadgcc-221ee7c920c3eb45da77f01f82c4611798473fcf.zip
gcc-221ee7c920c3eb45da77f01f82c4611798473fcf.tar.gz
gcc-221ee7c920c3eb45da77f01f82c4611798473fcf.tar.bz2
Makefile.in (opts.o): Depend on target.h.
* Makefile.in (opts.o): Depend on target.h. * opts.c (decode_options): Use targetm.default_short_enums instead of DEFAULT_SHORT_ENUMS. * system.h (DEFAULT_SHORT_ENUMS): Poison. * target-def.h (TARGET_DEFAULT_SHORT_ENUMS): New. (TARGET_INITIALIZER): Add TARGET_DEFAULT_SHORT_ENUMS. * target.h (gcc_target): Add default_short_enums. * config/cris/cris.h: Remove a comment about DEFAULT_SHORT_ENUMS. * config/ip2k/ip2k.h: Likewise. * doc/tm.texi (DEFAULT_SHORT_ENUMS): Change to TARGET_DEFAULT_SHORT_ENUMS. Update the description. From-SVN: r78303
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/cris/cris.h2
-rw-r--r--gcc/config/ip2k/ip2k.h6
2 files changed, 0 insertions, 8 deletions
diff --git a/gcc/config/cris/cris.h b/gcc/config/cris/cris.h
index 5110f9a..10147b2 100644
--- a/gcc/config/cris/cris.h
+++ b/gcc/config/cris/cris.h
@@ -567,8 +567,6 @@ extern int target_flags;
/* For compatibility and historical reasons, a char should be signed. */
#define DEFAULT_SIGNED_CHAR 1
-/* No DEFAULT_SHORT_ENUMS, please. */
-
/* Note that WCHAR_TYPE_SIZE is used in cexp.y,
where TARGET_SHORT is not available. */
#undef WCHAR_TYPE
diff --git a/gcc/config/ip2k/ip2k.h b/gcc/config/ip2k/ip2k.h
index 6457e8b..4685d03 100644
--- a/gcc/config/ip2k/ip2k.h
+++ b/gcc/config/ip2k/ip2k.h
@@ -108,12 +108,6 @@ 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"