aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2004-05-11 16:23:44 +0000
committerPaul Brook <pbrook@gcc.gnu.org>2004-05-11 16:23:44 +0000
commit3277074642a8201218f4f8efbd9c6a02815a29c0 (patch)
tree13945cec14cd33eb090b36403f640a7b0262c5c5 /gcc/opts.c
parent946f318ae781197a2b4259a30610970dd440d0f0 (diff)
downloadgcc-3277074642a8201218f4f8efbd9c6a02815a29c0.zip
gcc-3277074642a8201218f4f8efbd9c6a02815a29c0.tar.gz
gcc-3277074642a8201218f4f8efbd9c6a02815a29c0.tar.bz2
flags.h (flag_short_enums): Update comment.
* flags.h (flag_short_enums): Update comment. * opts.c (decode_options): Set flag_short_enums to 2. * toplev.c (flag_short_enums): Update comment. (process_options): Call default_short_enums target hook. From-SVN: r81704
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 b0ede80..4cf4446 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. */