diff options
author | Paul Brook <paul@codesourcery.com> | 2004-05-11 16:23:44 +0000 |
---|---|---|
committer | Paul Brook <pbrook@gcc.gnu.org> | 2004-05-11 16:23:44 +0000 |
commit | 3277074642a8201218f4f8efbd9c6a02815a29c0 (patch) | |
tree | 13945cec14cd33eb090b36403f640a7b0262c5c5 /gcc/toplev.c | |
parent | 946f318ae781197a2b4259a30610970dd440d0f0 (diff) | |
download | gcc-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/toplev.c')
-rw-r--r-- | gcc/toplev.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index d96543d..0465018 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -314,7 +314,8 @@ unsigned local_tick; int flag_signed_char; -/* Nonzero means give an enum type only as many bytes as it needs. */ +/* Nonzero means give an enum type only as many bytes as it needs. A value + of 2 means it has not yet been initialized. */ int flag_short_enums; @@ -2232,6 +2233,9 @@ process_options (void) OVERRIDE_OPTIONS; #endif + if (flag_short_enums == 2) + flag_short_enums = targetm.default_short_enums (); + /* Set aux_base_name if not already set. */ if (aux_base_name) ; |