This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: query: -fshort-enums is default on which targets ?
- From: Andreas Schwab <schwab at suse dot de>
- To: "Gaurav Gautam, Noida" <gauravga at noida dot hcltech dot com>
- Cc: <gcc at gcc dot gnu dot org>, "MSX to GCC" <gcc-help at gcc dot gnu dot org>
- Date: Tue, 27 Sep 2005 17:08:27 +0200
- Subject: Re: query: -fshort-enums is default on which targets ?
- References: <40CC5CC7CDACC048B1299C57025E330C01071F79@HSDLNTD1110010.noida.hcltech.com>
"Gaurav Gautam, Noida" <gauravga@noida.hcltech.com> writes:
> 1) Can anyone tell me, on which all targets, this is default?
$ grep -r TARGET_DEFAULT_SHORT_ENUMS gcc
gcc/config/arm/arm.c:#undef TARGET_DEFAULT_SHORT_ENUMS
gcc/config/arm/arm.c:#define TARGET_DEFAULT_SHORT_ENUMS arm_default_short_enums
gcc/doc/tm.texi:@deftypefn {Target Hook} bool TARGET_DEFAULT_SHORT_ENUMS (void)
gcc/target-def.h:#define TARGET_DEFAULT_SHORT_ENUMS hook_bool_void_false
gcc/target-def.h: TARGET_DEFAULT_SHORT_ENUMS, \
gcc/ChangeLog-2004: (TARGET_DEFAULT_SHORT_ENUMS): Define.
gcc/ChangeLog-2004: * target-def.h (TARGET_DEFAULT_SHORT_ENUMS): New.
gcc/ChangeLog-2004: (TARGET_INITIALIZER): Add TARGET_DEFAULT_SHORT_ENUMS.
gcc/ChangeLog-2004: TARGET_DEFAULT_SHORT_ENUMS. Update the description.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."