mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
946f318ae7
commit
3277074642
|
@ -1,3 +1,10 @@
|
||||||
|
2004-05-11 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2004-05-11 Andrew Pinski <pinskia@gcc.gnu.org>
|
2004-05-11 Andrew Pinski <pinskia@gcc.gnu.org>
|
||||||
|
|
||||||
PR target/14063
|
PR target/14063
|
||||||
|
|
|
@ -244,7 +244,8 @@ extern int flag_print_asm_name;
|
||||||
|
|
||||||
extern int flag_signed_char;
|
extern 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. */
|
||||||
|
|
||||||
extern int flag_short_enums;
|
extern int flag_short_enums;
|
||||||
|
|
||||||
|
|
|
@ -604,8 +604,9 @@ decode_options (unsigned int argc, const char **argv)
|
||||||
|
|
||||||
/* Initialize whether `char' is signed. */
|
/* Initialize whether `char' is signed. */
|
||||||
flag_signed_char = DEFAULT_SIGNED_CHAR;
|
flag_signed_char = DEFAULT_SIGNED_CHAR;
|
||||||
/* Initialize how much space enums occupy, by default. */
|
/* Set this to a special "uninitialized" value. The actual default is set
|
||||||
flag_short_enums = targetm.default_short_enums ();
|
after target options have been processed. */
|
||||||
|
flag_short_enums = 2;
|
||||||
|
|
||||||
/* Initialize target_flags before OPTIMIZATION_OPTIONS so the latter can
|
/* Initialize target_flags before OPTIMIZATION_OPTIONS so the latter can
|
||||||
modify it. */
|
modify it. */
|
||||||
|
|
|
@ -314,7 +314,8 @@ unsigned local_tick;
|
||||||
|
|
||||||
int flag_signed_char;
|
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;
|
int flag_short_enums;
|
||||||
|
|
||||||
|
@ -2232,6 +2233,9 @@ process_options (void)
|
||||||
OVERRIDE_OPTIONS;
|
OVERRIDE_OPTIONS;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (flag_short_enums == 2)
|
||||||
|
flag_short_enums = targetm.default_short_enums ();
|
||||||
|
|
||||||
/* Set aux_base_name if not already set. */
|
/* Set aux_base_name if not already set. */
|
||||||
if (aux_base_name)
|
if (aux_base_name)
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in New Issue