This is the mail archive of the gcc-patches@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: [PATCH] ARM: Introduce ARM_DEFAULT_SHORT_ENUMS


On 04/04/17 11:00, Ramana Radhakrishnan wrote:
>  static bool
>  arm_default_short_enums (void)
>  {
>-  return TARGET_AAPCS_BASED && arm_abi != ARM_ABI_AAPCS_LINUX;
>+  return ARM_DEFAULT_SHORT_ENUMS;
>  }
>
>
>diff --git a/gcc/config/arm/rtems.h b/gcc/config/arm/rtems.h
>index 53cd987..b34bbe8 100644
>--- a/gcc/config/arm/rtems.h
>+++ b/gcc/config/arm/rtems.h
>@@ -27,3 +27,5 @@
>         builtin_assert ("system=rtems");        \
>         TARGET_BPABI_CPP_BUILTINS();            \
>      } while (0)
>+
>+#define ARM_DEFAULT_SHORT_ENUMS false
It's a change in ABI for the RTEMS platform but it certainly needs a
documentation update in the release notes . Also, is it necessary that
you need this in for GCC-7 or can you wait for stage-1 since we are in
regression fixes mode ?

For RTEMS, ABI changes are not really critical. I would like to get this into GCC 6.4. For GCC 7 its not urgent.

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


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