This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: query: -fshort-enums is default on which targets ?


"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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]