From: Richard Kenner Date: Sun, 21 Apr 1996 01:22:14 +0000 (-0400) Subject: (layout_record): Use ADJUST_FIELD_ALIGN to modify alignment of fields X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d42d380a16e8f858c7df399bba9993a39734edd8;p=gcc.git (layout_record): Use ADJUST_FIELD_ALIGN to modify alignment of fields within records. From-SVN: r11859 --- diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index a67418b35ee..e7510fe5f6c 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -353,6 +353,9 @@ layout_record (rec) #ifdef BIGGEST_FIELD_ALIGNMENT desired_align = MIN (desired_align, BIGGEST_FIELD_ALIGNMENT); #endif +#ifdef ADJUST_FIELD_ALIGN + desired_align = ADJUST_FIELD_ALIGN (field, desired_align); +#endif /* Record must have at least as much alignment as any field. Otherwise, the alignment of the field within the record