From: Paul Brook Date: Thu, 13 May 2004 11:25:49 +0000 (+0000) Subject: * config/arm/arm.h (PCC_BITFIELD_TYPE_MATTERS): Define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d81d0bdd6a9ad1fc9b7d8a1ba7d980d70805e633;p=gcc.git * config/arm/arm.h (PCC_BITFIELD_TYPE_MATTERS): Define. From-SVN: r81777 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2510e137299..0bc5892f8f0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-05-13 Paul Brook + + * config/arm/arm.h (PCC_BITFIELD_TYPE_MATTERS): Define. + 2004-05-13 Paul Brook * config/arm/arm.c (arm_default_short_enums): New function. diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 518e387bba8..fe693a83ce1 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -729,6 +729,12 @@ extern const char * structure_size_string; #ifndef SIZE_TYPE #define SIZE_TYPE (TARGET_AAPCS_BASED ? "unsigned int" : "long unsigned int") #endif + +/* AAPCS requires that structure alignment is affected by bitfields. */ +#ifndef PCC_BITFIELD_TYPE_MATTERS +#define PCC_BITFIELD_TYPE_MATTERS TARGET_AAPCS_BASED +#endif + /* Standard register usage. */