summaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index b0ede80e610..4cf4446fdb5 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -604,8 +604,9 @@ decode_options (unsigned int argc, const char **argv)
/* Initialize whether `char' is signed. */
flag_signed_char = DEFAULT_SIGNED_CHAR;
- /* Initialize how much space enums occupy, by default. */
- flag_short_enums = targetm.default_short_enums ();
+ /* Set this to a special "uninitialized" value. The actual default is set
+ after target options have been processed. */
+ flag_short_enums = 2;
/* Initialize target_flags before OPTIMIZATION_OPTIONS so the latter can
modify it. */