aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-02-20 14:28:13 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-02-20 14:28:13 +0000
commit35afa569457df0487c13bc3b4a204ffbc39cbc3c (patch)
tree012b91656bab137d3a81907c99ac97627aa04a7f /gcc/opts.c
parentc1c3bb0cbdb39c94cb40c5e853381ef741d2ecff (diff)
downloadgcc-35afa569457df0487c13bc3b4a204ffbc39cbc3c.zip
gcc-35afa569457df0487c13bc3b4a204ffbc39cbc3c.tar.gz
gcc-35afa569457df0487c13bc3b4a204ffbc39cbc3c.tar.bz2
revert: opts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS.
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. From-SVN: r78168
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index b25ba43..45acba3 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -594,6 +594,10 @@ decode_options (unsigned int argc, const char **argv)
/* Initialize whether `char' is signed. */
flag_signed_char = DEFAULT_SIGNED_CHAR;
+#ifdef DEFAULT_SHORT_ENUMS
+ /* Initialize how much space enums occupy, by default. */
+ flag_short_enums = DEFAULT_SHORT_ENUMS;
+#endif
/* Initialize target_flags before OPTIMIZATION_OPTIONS so the latter can
modify it. */