From d42d380a16e8f858c7df399bba9993a39734edd8 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 20 Apr 1996 21:22:14 -0400 Subject: [PATCH] (layout_record): Use ADJUST_FIELD_ALIGN to modify alignment of fields within records. From-SVN: r11859 --- gcc/stor-layout.c | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2