ARM: Introduce ARM_DEFAULT_SHORT_ENUMS
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Fri, 7 Apr 2017 07:02:07 +0000 (07:02 +0000)
committerSebastian Huber <sh@gcc.gnu.org>
Fri, 7 Apr 2017 07:02:07 +0000 (07:02 +0000)
commit1ca92bdca07e3a3cac4885e6b0e1b30e50acae39
tree3bd9dd88db3a9c40faa16aed7fab1717ee67dac5
parent2bdf7fc6e6a1c68847539cee4c93a472d55fa04e
ARM: Introduce ARM_DEFAULT_SHORT_ENUMS

Allow targets to define the default for the short enums option.

gcc/

* config/arm/arm.h (ARM_DEFAULT_SHORT_ENUMS): Provide default
definition.
* config/arm/arm.c (arm_default_short_enums): Use
ARM_DEFAULT_SHORT_ENUMS.
* config/arm/rtems.h (ARM_DEFAULT_SHORT_ENUMS): Define.

From-SVN: r246753
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/arm.h
gcc/config/arm/rtems.h