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: http://review.tizen.org/git/?a=commitdiff_plain;h=d81d0bdd6a9ad1fc9b7d8a1ba7d980d70805e633;p=platform%2Fupstream%2Fgcc.git * config/arm/arm.h (PCC_BITFIELD_TYPE_MATTERS): Define. From-SVN: r81777 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2510e13..0bc5892 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 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. (TARGET_DEFAULT_SHORT_ENUMS): Define. diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 518e387..fe693a8 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. */